diff --git a/files/helpers/config/modaction_types.py b/files/helpers/config/modaction_types.py index a3b28a67e..d6d0fbdc1 100644 --- a/files/helpers/config/modaction_types.py +++ b/files/helpers/config/modaction_types.py @@ -292,12 +292,12 @@ MODACTION_TYPES = { "color": 'bg-primary' }, 'set_nsfw': { - "str": 'set {self.target_link} as +18', + "str": 'set {self.target_link} as 18+', "icon": 'fa-eye-evil', "color": 'bg-danger' }, 'set_nsfw_comment': { - "str": 'set {self.target_link} as +18', + "str": 'set {self.target_link} as 18+', "icon": 'fa-eye-evil', "color": 'bg-danger' }, @@ -362,12 +362,12 @@ MODACTION_TYPES = { "color": 'bg-muted' }, 'unset_nsfw': { - "str": 'unset {self.target_link} as +18', + "str": 'unset {self.target_link} as 18+', "icon": 'fa-eye-evil', "color": 'bg-success' }, 'unset_nsfw_comment': { - "str": 'unset {self.target_link} as +18', + "str": 'unset {self.target_link} as 18+', "icon": 'fa-eye-evil', "color": 'bg-success' }, diff --git a/files/routes/comments.py b/files/routes/comments.py index 4092841c6..4e1ce0f81 100644 --- a/files/routes/comments.py +++ b/files/routes/comments.py @@ -637,8 +637,8 @@ def toggle_comment_nsfw(cid, v): ) g.db.add(ma) - if comment.over_18: return {"message": "Comment has been marked as +18!"} - else: return {"message": "Comment has been unmarked as +18!"} + if comment.over_18: return {"message": "Comment has been marked as 18+!"} + else: return {"message": "Comment has been unmarked as 18+!"} @app.post("/edit_comment/") @limiter.limit('1/second', scope=rpath) diff --git a/files/routes/posts.py b/files/routes/posts.py index 1ec52524c..c0eb7b765 100644 --- a/files/routes/posts.py +++ b/files/routes/posts.py @@ -800,9 +800,9 @@ def mark_post_nsfw(pid, v): target_post_id = p.id, ) g.db.add(ma) - send_repeatable_notification(p.author_id, f"@{v.username} (a site admin) has marked [{p.title}](/post/{p.id}) as +18") + send_repeatable_notification(p.author_id, f"@{v.username} (a site admin) has marked [{p.title}](/post/{p.id}) as 18+") - return {"message": "Post has been marked as +18!"} + return {"message": "Post has been marked as 18+!"} @app.post("/unmark_post_nsfw/") @feature_required('NSFW_MARKING') @@ -839,9 +839,9 @@ def unmark_post_nsfw(pid, v): target_post_id = p.id, ) g.db.add(ma) - send_repeatable_notification(p.author_id, f"@{v.username} (a site admin) has unmarked [{p.title}](/post/{p.id}) as +18") + send_repeatable_notification(p.author_id, f"@{v.username} (a site admin) has unmarked [{p.title}](/post/{p.id}) as 18+") - return {"message": "Post has been unmarked as +18!"} + return {"message": "Post has been unmarked as 18+!"} @app.post("/save_post/") @limiter.limit('1/second', scope=rpath) diff --git a/files/templates/comments.html b/files/templates/comments.html index 7af46c6b0..6069c229f 100644 --- a/files/templates/comments.html +++ b/files/templates/comments.html @@ -30,7 +30,7 @@
@@ -64,7 +64,7 @@ {% if standalone and level==1 %}