From 25ba9a33a33ba653608e27e15e3cf368e7544b45 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sat, 2 Oct 2021 18:31:30 +0200 Subject: [PATCH] fds --- files/templates/submission.html | 29 +++++++++++++------------- files/templates/submission_banned.html | 2 +- 2 files changed, 15 insertions(+), 16 deletions(-) diff --git a/files/templates/submission.html b/files/templates/submission.html index fa0601e7b5..40ceec2e5c 100644 --- a/files/templates/submission.html +++ b/files/templates/submission.html @@ -1,15 +1,14 @@ {% extends "default.html" %} -{% set title=p.realtitle(v) %} {% set ups=p.upvotes %} {% set downs=p.downvotes %} {% set score=ups-downs %} {% if v %} -{% set voted=p.voted if p.voted else 0 %} + {% set voted=p.voted if p.voted else 0 %} {% else %} -{% set voted=-2 %} + {% set voted=-2 %} {% endif %} {% block title %} @@ -84,15 +83,15 @@ {% if comment_info and not comment_info.is_banned and not linked_comment.deleted_utc > 0 %} -{{'@'+comment_info.author.username}} comments on "{{p.realtitle(v)}} - {{'SITE_NAME' | app_config}}" +{{'@'+comment_info.author.username}} comments on "{{p.title}} - {{'SITE_NAME' | app_config}}" {% if comment_info.edited_utc %}{% endif %} - + - + {% if p.url and p.url.lower().endswith('.mp4') %} @@ -102,9 +101,9 @@ - + - + @@ -113,15 +112,15 @@ {% endif %} {% else %} -{{p.realtitle(v)}} - {{'SITE_NAME' | app_config}} +{{p.title}} - {{'SITE_NAME' | app_config}} {% if p.edited_utc %}{% endif %} - + - + {% if p.url and p.url.lower().endswith('.mp4') %} @@ -131,9 +130,9 @@ - + - + @@ -307,12 +306,12 @@ {% if p.realurl(v) %}

{% if p.club %}COUNTRY CLUB{% endif %} - {{title | safe}} + {{p.realtitle(v) | safe}}

{% else %}

{% if p.club %}COUNTRY CLUB{% endif %} - {{title | safe}} + {{p.realtitle(v) | safe}}

{% endif %} diff --git a/files/templates/submission_banned.html b/files/templates/submission_banned.html index 509e39aa94..f36412b20b 100644 --- a/files/templates/submission_banned.html +++ b/files/templates/submission_banned.html @@ -55,7 +55,7 @@
-
{{p.realtitle(v)}}
+
{{p.title}}