forked from rDrama/rDrama
fsdfsd
parent
db5c1af346
commit
6cada988dd
|
@ -308,14 +308,14 @@
|
||||||
|
|
||||||
{% if v and request.path.startswith('/@') and v.admin_level == 0%}
|
{% if v and request.path.startswith('/@') and v.admin_level == 0%}
|
||||||
{% if voted==1 %}
|
{% if voted==1 %}
|
||||||
<button class="btn p-0 list-inline-item arrow-up d-none d-md-inline-block mx-0 comment-{{c.id}}-up active"></button>
|
<button class="btn p-0 mr-1 list-inline-item arrow-up d-none d-md-inline-block mx-0 comment-{{c.id}}-up active"></button>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% elif v %}
|
{% elif v %}
|
||||||
|
|
||||||
<button id="comment-{{c.id}}-up" tabindex="0" href="javascript:void(0)" onclick="vote('comment', '{{c.id}}', '1')" class="btn p-0 list-inline-item arrow-up upvote-button d-none d-md-inline-block mx-0 comment-{{c.id}}-up {% if voted==1 %}active{% endif %}"></button>
|
<button id="comment-{{c.id}}-up" tabindex="0" href="javascript:void(0)" onclick="vote('comment', '{{c.id}}', '1')" class="btn p-0 mr-1 list-inline-item arrow-up upvote-button d-none d-md-inline-block mx-0 comment-{{c.id}}-up {% if voted==1 %}active{% endif %}"></button>
|
||||||
|
|
||||||
{% else %}
|
{% else %}
|
||||||
<button id="comment-{{c.id}}-up" tabindex="0" class="btn p-0 list-inline-item arrow-up d-none d-md-inline-block" onclick="location.href='/login';"></button>
|
<button id="comment-{{c.id}}-up" tabindex="0" class="btn p-0 pr-1 list-inline-item arrow-up d-none d-md-inline-block" onclick="location.href='/login';"></button>
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
@ -328,7 +328,7 @@
|
||||||
<li class="list-inline-item arrow-down d-none d-md-inline-block px-2 mx-0 comment-{{c.id}}-down active"></li>
|
<li class="list-inline-item arrow-down d-none d-md-inline-block px-2 mx-0 comment-{{c.id}}-down active"></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% elif v %}
|
{% elif v %}
|
||||||
<button {% if environ.get('DISABLE_DOWNVOTES') == '1' %}style="display:None!important"{% endif %} id="comment-{{c.id}}-down" tabindex="0" href="javascript:void(0)" onclick="vote('comment', '{{c.id}}', '-1')" class="btn p-0 pr-2 list-inline-item arrow-down downvote-button d-none d-md-inline-block mx-0 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" href="javascript:void(0)" onclick="vote('comment', '{{c.id}}', '-1')" class="btn p-0 ml-1 mr-2 list-inline-item arrow-down downvote-button d-none d-md-inline-block mx-0 comment-{{c.id}}-down {% if voted==-1 %}active{% endif %}"></button>
|
||||||
|
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue