forked from MarseyWorld/MarseyWorld
vcxcxv
parent
5527b0f10a
commit
e361b151c2
|
@ -545,14 +545,6 @@ AWARDS = {
|
||||||
"color": "text-red",
|
"color": "text-red",
|
||||||
"price": 300
|
"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": {
|
"spiders": {
|
||||||
"kind": "spiders",
|
"kind": "spiders",
|
||||||
"title": "Spiders",
|
"title": "Spiders",
|
||||||
|
@ -609,6 +601,14 @@ AWARDS = {
|
||||||
"color": "text-yellow",
|
"color": "text-yellow",
|
||||||
"price": 300
|
"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": {
|
"progressivestack": {
|
||||||
"kind": "progressivestack",
|
"kind": "progressivestack",
|
||||||
"title": "Progressive Stack",
|
"title": "Progressive Stack",
|
||||||
|
|
|
@ -39,6 +39,7 @@ def admin_vote_info_get(v):
|
||||||
).order_by(Vote.id).all()
|
).order_by(Vote.id).all()
|
||||||
|
|
||||||
elif isinstance(thing, Comment):
|
elif isinstance(thing, Comment):
|
||||||
|
if thing.author_name == '👻': abort(403)
|
||||||
|
|
||||||
if thing.author.shadowbanned and not (v and v.admin_level):
|
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]
|
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 %}
|
{% 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 %}
|
{% 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>
|
<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">
|
<div class="modal-body">
|
||||||
<ul class="list-group comment-actions">
|
<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>
|
<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