forked from rDrama/rDrama
fdsfds
parent
8bcdd92565
commit
2c6f2d6b77
|
@ -312,14 +312,14 @@
|
|||
{% endif %}
|
||||
{% elif v %}
|
||||
|
||||
<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>
|
||||
<button id="comment-{{c.id}}-up" tabindex="0" href="javascript:void(0)" onclick="vote('comment', '{{c.id}}', '1')" class="btn p-0 mr-1 nobackground 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 %}
|
||||
<button id="comment-{{c.id}}-up" tabindex="0" class="btn p-0 mr-1 list-inline-item arrow-up d-none d-md-inline-block" onclick="location.href='/login';"></button>
|
||||
|
||||
{% endif %}
|
||||
|
||||
<button class="btn list-inline-item d-none d-md-inline-block px-3 mx-0">
|
||||
<button class="btn nobackground list-inline-item d-none d-md-inline-block px-3 mx-0">
|
||||
<span data-bs-toggle="tooltip" data-bs-placement="top" data-bs-original-title="+{{ups}} | -{{downs}}" id="comment-score-{{c.id}}" class="score comment-score-{{c.id}} {% if voted==1 %}score-up{% elif voted==-1%}score-down{% endif %}">{{score}}</span>
|
||||
</button>
|
||||
|
||||
|
@ -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>
|
||||
{% endif %}
|
||||
{% 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 ml-1 mr-3 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-3 nobackground 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 %}
|
||||
|
||||
|
@ -336,7 +336,7 @@
|
|||
|
||||
{% endif %}
|
||||
|
||||
<a href="/votes?link={{c.fullname}}" class="btn px-1 list-inline-item text-muted d-none d-md-inline-block"><i class="fas fa-arrows-v"></i>Votes</a>
|
||||
<a href="/votes?link={{c.fullname}}" class="btn nobackground px-1 list-inline-item text-muted d-none d-md-inline-block"><i class="fas fa-arrows-v"></i>Votes</a>
|
||||
|
||||
{% if v %}
|
||||
<button class="btn py-0 nobackground px-1 list-inline-item text-muted d-none d-md-inline-block" href="javascript:void(0)" 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>
|
||||
|
@ -348,7 +348,7 @@
|
|||
<button class="btn py-0 nobackground px-1 list-inline-item text-muted" href="javascript:void(0)" onclick="openReplyBox('reply-to-{{c.id}}')"><i class="fas fa-reply" aria-hidden="true"></i><span class="d-none d-md-inline-block">Reply</span></button>
|
||||
{% endif %}
|
||||
|
||||
<a class="btn px-1 list-inline-item text-muted d-none d-md-inline-block" href="{{c.permalink}}"><i class="fas fa-book-open"></i>Context</a>
|
||||
<a class="btn nobackground px-1 list-inline-item text-muted d-none d-md-inline-block" href="{{c.permalink}}"><i class="fas fa-book-open"></i>Context</a>
|
||||
|
||||
<button class="btn py-0 nobackground px-1 list-inline-item text-muted d-none d-md-inline-block copy-link" href="javascript:void(0);" role="button" data-clipboard-text="{% if 'rama' in request.host %}https://freeghettohoes.biz{{c.permalink}}{% else %}{{c.permalink | full_link}}{% endif %}"><i class="fas fa-copy"></i>Copy link</button>
|
||||
|
||||
|
|
Loading…
Reference in New Issue