diff --git a/files/helpers/const.py b/files/helpers/const.py index fd43407af..9e4824a49 100644 --- a/files/helpers/const.py +++ b/files/helpers/const.py @@ -545,14 +545,6 @@ AWARDS = { "color": "text-red", "price": 300 }, - "ghosts": { - "kind": "ghosts", - "title": "Ghosts", - "description": "Hides the usernames of everyone in the thread", - "icon": "fas fa-ghost", - "color": "text-white", - "price": 200 - }, "spiders": { "kind": "spiders", "title": "Spiders", @@ -609,6 +601,14 @@ AWARDS = { "color": "text-yellow", "price": 300 }, + "ghosts": { + "kind": "ghosts", + "title": "Ghosts", + "description": "Hides the usernames of everyone in the thread", + "icon": "fas fa-ghost", + "color": "text-white", + "price": 500 + }, "progressivestack": { "kind": "progressivestack", "title": "Progressive Stack", diff --git a/files/routes/votes.py b/files/routes/votes.py index 79c6564a0..a781da8c8 100644 --- a/files/routes/votes.py +++ b/files/routes/votes.py @@ -39,6 +39,7 @@ def admin_vote_info_get(v): ).order_by(Vote.id).all() elif isinstance(thing, Comment): + if thing.author_name == '👻': abort(403) if thing.author.shadowbanned and not (v and v.admin_level): thing_id = g.db.query(Comment.id).filter_by(upvotes=thing.upvotes, downvotes=thing.downvotes).order_by(Comment.id).first()[0] diff --git a/files/templates/comments.html b/files/templates/comments.html index 3d4e9d535..36b4b98d7 100644 --- a/files/templates/comments.html +++ b/files/templates/comments.html @@ -400,7 +400,7 @@ {% endif %} - Votes + {% if c.author_name != '👻' %}:Votes{% endif %} {% if v %} @@ -582,7 +582,7 @@