From 68dd3e1a1388252d7ed64bcafece011d368cf1a0 Mon Sep 17 00:00:00 2001 From: Ian Stride Date: Wed, 17 Jan 2024 12:32:03 +0000 Subject: [PATCH] Adjust location of 'view comment' link in CCM UI (#1661) --- .../comments/community_moderation.html | 64 +++++----- iogt/static/css/iogt.css | 116 +++++++++--------- 2 files changed, 91 insertions(+), 89 deletions(-) diff --git a/comments/templates/comments/community_moderation.html b/comments/templates/comments/community_moderation.html index 95b18cec7..5144aea65 100644 --- a/comments/templates/comments/community_moderation.html +++ b/comments/templates/comments/community_moderation.html @@ -20,40 +20,40 @@

{% translate 'Filters' %}

{% if comments %} - - - - - - - +
+
+
{% translate 'Comments' %}
+
{% translate 'Actions' %}
+
{% for comment in comments %} -
- - - +
+
+
{{ comment.comment }}
+ +
+
+
+ {% if comment.comment_moderation.state == 'UNMODERATED' %} + {% translate 'Approve' %} + {% translate 'Reject' %} + {% translate 'Unsure' %} + {% elif comment.comment_moderation.state == 'APPROVED' %} + {% translate 'Reject' %} + {% translate 'Unsure' %} + {% elif comment.comment_moderation.state == 'REJECTED' %} + {% translate 'Approve' %} + {% translate 'Unsure' %} + {% elif comment.comment_moderation.state == 'UNSURE' %} + {% translate 'Approve' %} + {% translate 'Reject' %} + {% endif %} +
+
+
{% endfor %} -
{% translate 'Comments' %}{% translate 'Actions' %}
- {{ comment.comment }} - -
- Show - {% if comment.comment_moderation.state == 'UNMODERATED' %} - {% translate 'Approve' %} - {% translate 'Reject' %} - {% translate 'Unsure' %} - {% elif comment.comment_moderation.state == 'APPROVED' %} - {% translate 'Reject' %} - {% translate 'Unsure' %} - {% elif comment.comment_moderation.state == 'REJECTED' %} - {% translate 'Approve' %} - {% translate 'Unsure' %} - {% elif comment.comment_moderation.state == 'UNSURE' %} - {% translate 'Approve' %} - {% translate 'Reject' %} - {% endif %} -
-
+ {% if is_paginated %}