forked from MarseyWorld/MarseyWorld
vcxcxv
parent
5527b0f10a
commit
e361b151c2
|
@ -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",
|
||||
|
|
|
@ -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]
|
||||
|
|
|
@ -400,7 +400,7 @@
|
|||
|
||||
{% endif %}
|
||||
|
||||
<a href="/votes?link={{c.fullname}}" class="btn caction nobackground px-1 text-muted"><i class="fas fa-arrows-v"></i>Votes</a>
|
||||
{% if c.author_name != '👻' %}:<a href="/votes?link={{c.fullname}}" class="btn caction nobackground px-1 text-muted"><i class="fas fa-arrows-v"></i>Votes</a>{% endif %}
|
||||
|
||||
{% if v %}
|
||||
<button class="btn caction py-0 nobackground px-1 text-muted" role="button" data-bs-toggle="modal" data-bs-target="#awardModal" onclick="awardModal('/comment/{{c.id}}/awards')"><i class="fas fa-gift" aria-hidden="true"></i>Give Award</button>
|
||||
|
@ -582,7 +582,7 @@
|
|||
<div class="modal-body">
|
||||
<ul class="list-group comment-actions">
|
||||
|
||||
<a href="/votes?link={{c.fullname}}"><li class="list-group-item"><i class="fas fa-arrows-v"></i>Votes</li></a>
|
||||
{% if c.author_name != '👻' %}<a href="/votes?link={{c.fullname}}"><li class="list-group-item"><i class="fas fa-arrows-v"></i>Votes</li></a>{% endif %}
|
||||
|
||||
<a role="button" role="button" class="list-group-item copy-link" data-bs-dismiss="modal" data-clipboard-text="{% if request.host == 'rdrama.net' %}https://rdrama.com{{c.permalink}}{% else %}{{c.permalink | full_link}}{% endif %}"><i class="fas fa-copy"></i>Copy link</a>
|
||||
|
||||
|
|
Loading…
Reference in New Issue