diff --git a/templates/modapp.html b/templates/modapp.html index ee50523..6820392 100644 --- a/templates/modapp.html +++ b/templates/modapp.html @@ -7,6 +7,7 @@
+
- All Quotes for Moderation- - - {% if all_quotes %} - + | Quote ID | +Quote | +Status | +Submitted At | +IP Address | +User Agent | +Actions | +
|---|---|---|---|---|---|---|---|
| #{{ quote.id }} | +{{ quote.text }} | +
+ {% if quote.status == 0 %}
+ Pending
+ {% elif quote.status == 1 %}
+ Approved
{% else %}
- No quotes available for moderation at the moment. + Rejected {% endif %} |
+ {{ quote.submitted_at.strftime('%Y-%m-%d %H:%M:%S') if quote.submitted_at else 'N/A' }} | +{{ quote.ip_address }} | +{{ quote.user_agent }} | ++ Approve | + Reject | + Delete + |
No quotes available for moderation.
+ {% endif %} @@ -118,15 +117,12 @@