remotes/1693045480750635534/spooky-22
Aevann1 2021-12-30 23:50:14 +02:00
parent 04544e8633
commit d5f1c9ec0a
1 changed files with 6 additions and 6 deletions

View File

@ -377,14 +377,14 @@
<ul class="d-none d-md-flex list-inline text-right text-md-left"><li>
{% if v and request.path.startswith('/@') and v.admin_level == 0%}
{% if voted==1 %}
<button class="btn caction py-0 m-0 px-2 arrow-up mx-0 comment-{{c.id}}-up active"></button>
<button class="btn caction py-0 m-0 px-3 arrow-up mx-0 comment-{{c.id}}-up active"></button>
{% endif %}
{% elif v %}
<button id="comment-{{c.id}}-up" tabindex="0" role="button" onclick="vote('comment', '{{c.id}}', '1')" class="btn caction py-0 m-0 px-2 nobackground arrow-up upvote-button mx-0 comment-{{c.id}}-up {% if voted==1 %}active{% endif %}"></button>
<button id="comment-{{c.id}}-up" tabindex="0" role="button" onclick="vote('comment', '{{c.id}}', '1')" class="btn caction py-0 m-0 px-3 nobackground arrow-up upvote-button mx-0 comment-{{c.id}}-up {% if voted==1 %}active{% endif %}"></button>
{% else %}
<button id="comment-{{c.id}}-up" tabindex="0" class="btn caction py-0 m-0 px-2 arrow-up" onclick="location.href='/login';"></button>
<button id="comment-{{c.id}}-up" tabindex="0" class="btn caction py-0 m-0 px-3 arrow-up" onclick="location.href='/login';"></button>
{% endif %}
@ -394,14 +394,14 @@
{% if v and request.path.startswith('/@') and v.admin_level == 0 %}
{% if voted==-1 %}
<li class=" arrow-down py-0 m-0 px-2 comment-{{c.id}}-down active"></li>
<li class=" arrow-down py-0 m-0 px-3 comment-{{c.id}}-down active"></li>
{% endif %}
{% elif v %}
<button {% if environ.get('DISABLE_DOWNVOTES') == '1' %}style="display:None!important"{% endif %} id="comment-{{c.id}}-down" tabindex="0" role="button" onclick="vote('comment', '{{c.id}}', '-1')" class="btn caction py-0 m-0 px-2 nobackground arrow-down downvote-button comment-{{c.id}}-down {% if voted==-1 %}active{% endif %}"></button>
<button {% if environ.get('DISABLE_DOWNVOTES') == '1' %}style="display:None!important"{% endif %} id="comment-{{c.id}}-down" tabindex="0" role="button" onclick="vote('comment', '{{c.id}}', '-1')" class="btn caction py-0 m-0 px-3 nobackground arrow-down downvote-button comment-{{c.id}}-down {% if voted==-1 %}active{% endif %}"></button>
{% else %}
<button {% if environ.get('DISABLE_DOWNVOTES') == '1' %}style="display:None!important"{% endif %} id="comment-{{c.id}}-down" tabindex="0" role="button" class="btn caction py-0 m-0 px-2 nobackground arrow-down" onclick="location.href='/login';"></button>
<button {% if environ.get('DISABLE_DOWNVOTES') == '1' %}style="display:None!important"{% endif %} id="comment-{{c.id}}-down" tabindex="0" role="button" class="btn caction py-0 m-0 px-3 nobackground arrow-down" onclick="location.href='/login';"></button>
{% endif %}