diff --git a/files/classes/comment.py b/files/classes/comment.py index 1f84077b0..5cab274e1 100644 --- a/files/classes/comment.py +++ b/files/classes/comment.py @@ -562,9 +562,4 @@ class Comment(Base): body += f" Insured." body += '' - return body - - - @lazy - def is_saved(self, v): - return g.db.query(CommentSaveRelationship).filter_by(user_id=v.id, comment_id=self.id).one_or_none() \ No newline at end of file + return body \ No newline at end of file diff --git a/files/templates/comments.html b/files/templates/comments.html index d9b7df551..bf18de754 100644 --- a/files/templates/comments.html +++ b/files/templates/comments.html @@ -456,9 +456,9 @@ - + - + {% endif %} {% if c.parent_submission %} @@ -657,9 +657,9 @@ Give Award - Save + Save - Unsave + Unsave {% if c.author_id == v.id %} Edit diff --git a/files/templates/post_actions.html b/files/templates/post_actions.html index 0717f8b2b..fd6a3328d 100644 --- a/files/templates/post_actions.html +++ b/files/templates/post_actions.html @@ -15,13 +15,13 @@ Copy link {% if v %} - Subscribe + Subscribe Unsubscribe {% endif %} {% if v %} - Save - Unsave + Save + Unsave Report {% endif %} diff --git a/files/templates/post_actions_mobile.html b/files/templates/post_actions_mobile.html index 9bc28658a..f01ee5a61 100644 --- a/files/templates/post_actions_mobile.html +++ b/files/templates/post_actions_mobile.html @@ -14,11 +14,11 @@ - - + + - - + + {% if v.id==p.author_id %}