diff --git a/files/classes/comment.py b/files/classes/comment.py
index 3ccf1c0e7..957741f0e 100644
--- a/files/classes/comment.py
+++ b/files/classes/comment.py
@@ -562,3 +562,8 @@ class Comment(Base):
body += ''
return body
+
+
+ @lazy
+ def is_saved(self, v):
+ return g.db.query(SaveRelationship).filter_by(user_id=v.id, submission_id=self.id).first()
\ No newline at end of file
diff --git a/files/classes/submission.py b/files/classes/submission.py
index 584259fb2..5ab95d88b 100644
--- a/files/classes/submission.py
+++ b/files/classes/submission.py
@@ -501,4 +501,9 @@ class Submission(Base):
return False
@lazy
- def active_flags(self, v): return len(self.flags(v))
\ No newline at end of file
+ def active_flags(self, v):
+ return len(self.flags(v))
+
+ @lazy
+ def is_saved(self, v):
+ return g.db.query(CommentSaveRelationship).filter_by(user_id=v.id, comment_id=self.id).first()
\ No newline at end of file
diff --git a/files/templates/post_actions.html b/files/templates/post_actions.html
index fd6a3328d..8ae3f3ef0 100644
--- a/files/templates/post_actions.html
+++ b/files/templates/post_actions.html
@@ -20,8 +20,8 @@
{% 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 f01ee5a61..f5e655155 100644
--- a/files/templates/post_actions_mobile.html
+++ b/files/templates/post_actions_mobile.html
@@ -17,8 +17,8 @@
-
-
+
+
{% if v.id==p.author_id %}