diff --git a/files/templates/comments.html b/files/templates/comments.html index 08907459a..87a7b1886 100644 --- a/files/templates/comments.html +++ b/files/templates/comments.html @@ -138,6 +138,18 @@ · Edited {{c.edited_string}} {% endif %} + + {% if c.active_flags %} +
+ Reported by: +

+				
+			
+ {% endif %} {% if c.is_banned and c.ban_reason %}
Reason: {{c.ban_reason}}
@@ -192,18 +204,6 @@ {% endif %} - - {% if c.active_flags %} -
- Reported by: -

-				
-			
- {% endif %}
+ {% if p.active_flags %} +
+ Reported by: +

+						
+					
+ {% endif %} + {% if p.realurl(v) %}

{{title | safe}}

{% else %} @@ -494,18 +506,6 @@ -{% if p.active_flags %} -
- Reported by: -

-		
-	
-{% endif %} -
diff --git a/files/templates/submission_listing.html b/files/templates/submission_listing.html index 35bf6d568..6b0f6e621 100644 --- a/files/templates/submission_listing.html +++ b/files/templates/submission_listing.html @@ -115,6 +115,18 @@   {{p.views}} views
+ {% if p.active_flags %} +
+ Reported by: +

+				
    + {% for f in p.ordered_flags %} +
  • @{{f.user.username}}{% if f.reason %}: {{f.reason | safe}}{% endif %}
  • + {% endfor %} +
+
+ {% endif %} +
{{p.realtitle(v) | safe}}
@@ -374,20 +386,6 @@
-{% if p.active_flags %} -
- Reported by: -

-		
-	
-{% endif %} - -{% else %} - {% if request.path.endswith('/admin/queue') %}
diff --git a/files/templates/user_listing.html b/files/templates/user_listing.html index 9224b579e..299cc8a98 100644 --- a/files/templates/user_listing.html +++ b/files/templates/user_listing.html @@ -21,8 +21,8 @@ {% endif %}
- {% if not hide_bios %} -
{{u.bio_html | safe}}
+ {% if not hide_bios and u.bio_html %} +
{{u.bio_html | safe}}
{% endif %}