From 46dd5ccd6aba882d95ad69573248f7283740d35c Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Wed, 6 Apr 2022 23:01:32 +0200 Subject: [PATCH] fg --- files/classes/submission.py | 1 + files/templates/comments.html | 4 ++-- files/templates/post_actions.html | 2 +- files/templates/post_actions_mobile.html | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/files/classes/submission.py b/files/classes/submission.py index 40d63af40..8643f351e 100644 --- a/files/classes/submission.py +++ b/files/classes/submission.py @@ -265,6 +265,7 @@ class Submission(Base): data = {'author_name': self.author_name if self.author else '', 'permalink': self.permalink, + 'shortlink': self.shortlink, 'is_banned': bool(self.is_banned), 'deleted_utc': self.deleted_utc, 'created_utc': self.created_utc, diff --git a/files/templates/comments.html b/files/templates/comments.html index 043b556bd..7a1544048 100644 --- a/files/templates/comments.html +++ b/files/templates/comments.html @@ -436,7 +436,7 @@ Context - + {% if v %} @@ -634,7 +634,7 @@ Context - Copy link + Copy link {% if v %} Report diff --git a/files/templates/post_actions.html b/files/templates/post_actions.html index 8ccb8faa2..3b137f6c9 100644 --- a/files/templates/post_actions.html +++ b/files/templates/post_actions.html @@ -12,7 +12,7 @@ Give Award {% endif %} -Copy link +Copy link {% if v %} Subscribe diff --git a/files/templates/post_actions_mobile.html b/files/templates/post_actions_mobile.html index c6044229b..b8fd7692a 100644 --- a/files/templates/post_actions_mobile.html +++ b/files/templates/post_actions_mobile.html @@ -8,7 +8,7 @@ {% if not p.ghost or v.id == AEVANN_ID %}{% endif %} - +