master
Aevann1 2021-07-22 21:16:56 +02:00
parent 98ae91efdc
commit 3d2a598603
2 changed files with 2 additions and 2 deletions

View File

@ -188,7 +188,7 @@ def front_all(v):
if v: if v:
defaultsorting = v.defaultsorting defaultsorting = v.defaultsorting
defaulttime = "day" defaulttime = v.defaulttime
else: else:
defaultsorting = "hot" defaultsorting = "hot"
defaulttime = "day" defaulttime = "day"

View File

@ -242,7 +242,7 @@
<li class="list-inline-item text-muted d-none d-md-inline-block"><a href="/votes?link=https://rdrama.net{{c.permalink}}"><i class="fas fa-arrows-v"></i>Votes</a></li> <li class="list-inline-item text-muted d-none d-md-inline-block"><a href="/votes?link=https://rdrama.net{{c.permalink}}"><i class="fas fa-arrows-v"></i>Votes</a></li>
{% if v and v.id!=p.author_id %} {% if v and v.id!=c.author_id %}
<li class="list-inline-item text-muted d-none d-md-inline-block"><a href="javascript:void(0)" onclick="post_toast('/banaward/comment/{{c.id}}')"><i class="fas fa-user-slash text-danger"></i>Ban user</a></li> <li class="list-inline-item text-muted d-none d-md-inline-block"><a href="javascript:void(0)" onclick="post_toast('/banaward/comment/{{c.id}}')"><i class="fas fa-user-slash text-danger"></i>Ban user</a></li>
{% endif %} {% endif %}