From 4cd28d16da48ee98f91e914fed1a8e0856624375 Mon Sep 17 00:00:00 2001 From: kek7198 Date: Thu, 25 Nov 2021 10:47:42 -0600 Subject: [PATCH] fix --- files/templates/submission.html | 9 +++---- files/templates/submission_listing.html | 32 ++++++++++++++++--------- 2 files changed, 26 insertions(+), 15 deletions(-) diff --git a/files/templates/submission.html b/files/templates/submission.html index 6b51cb3c28..32d4d3954e 100644 --- a/files/templates/submission.html +++ b/files/templates/submission.html @@ -306,6 +306,11 @@ {{p.age_string}} + {% if p.edited_utc %} + Edited + {{p.edited_string}} + {% endif %} + {% if p.realurl(v) %} ({{p.domain}}) @@ -313,10 +318,6 @@ (text post) {% endif %} - {% if p.edited_utc %} - Edited - {{p.edited_string}} - {% endif %} {{p.views}} views diff --git a/files/templates/submission_listing.html b/files/templates/submission_listing.html index 66d13b61e0..a25f366d72 100644 --- a/files/templates/submission_listing.html +++ b/files/templates/submission_listing.html @@ -94,19 +94,29 @@ {% endif %} {% if p.author.customtitle %} -    - {% if p.author.quadrant %} - - {% endif %} - {{p.author.customtitle | safe}} - + + {% if p.author.quadrant %} + + {% endif %} + {{p.author.customtitle | safe}} + {% endif %} {% endif %} -  {{p.age_string}} -   - ({% if p.realurl(v) %}{{p.domain}}{% else %}text post{% endif %}) - {% if p.edited_utc %}  Edited {{p.edited_string}}{% endif %} -   {{p.views}} views + {{p.age_string}} + + {% if p.edited_utc %} + Edited + {{p.edited_string}} + {% endif %} + + {% if p.realurl(v) %} + ({{p.domain}}) + + {% else %} + (text post) + {% endif %} + + {{p.views}} views