forked from rDrama/rDrama
fix
parent
74b082412a
commit
ed29a5534a
|
@ -37,46 +37,46 @@
|
|||
{% if v %}
|
||||
<li>
|
||||
<button onclick="openReplyBox('{{c.id}}')">
|
||||
<i class="fas fa-reply fa-fw mr-2"></i>Reply
|
||||
<i class="fas fa-reply fa-fw mr-1"></i>Reply
|
||||
</button>
|
||||
</li>
|
||||
<li class="list-inline-item text-muted hidden md:block">
|
||||
<button href="javascript:void(0)" data-bs-toggle="modal" data-bs-target="#awardModal" onclick="awardModal('/comment/{{c.id}}/awards')">
|
||||
<i class="fas fa-gift fa-fw mr-2" aria-hidden="true"></i>Award
|
||||
<i class="fas fa-gift fa-fw mr-1" aria-hidden="true"></i>Award
|
||||
</button>
|
||||
</li>
|
||||
<li id="unsave-{{c.id}}" class="hidden {% if c.id in v.saved_comment_idlist() %}md:block{% endif %}">
|
||||
<button class="hover:text-gray-400" onclick="post_toast3('/unsave_comment/{{c.id}}','save-{{c.id}}','unsave-{{c.id}}')">
|
||||
<i class="fas fa-bookmark fa-fw mr-2"></i>Unsave
|
||||
<i class="fas fa-bookmark fa-fw mr-1"></i>Unsave
|
||||
</button>
|
||||
</li>
|
||||
<li id="save-{{c.id}}" class="hidden {% if c.id not in v.saved_comment_idlist() %}md:block{% endif %}">
|
||||
<button class="hover:text-gray-400" onclick="post_toast3('/save_comment/{{c.id}}','save-{{c.id}}','unsave-{{c.id}}')">
|
||||
<i class="far fa-bookmark fa-fw mr-2"></i>Save
|
||||
<i class="far fa-bookmark fa-fw mr-1"></i>Save
|
||||
</button>
|
||||
</li>
|
||||
{% endif %}
|
||||
|
||||
<li class="hidden md:block">
|
||||
<button class="copy-link hover:text-gray-400" data-clipboard-text="{% if 'rama' in request.host %}https://freeghettohoes.biz{{c.permalink}}{% else %}{{c.permalink | full_link}}{% endif %}">
|
||||
<i class="fas fa-link fa-fw mr-2"></i>Copy link
|
||||
<i class="fas fa-link fa-fw mr-1"></i>Copy link
|
||||
</button>
|
||||
</li>
|
||||
<li class="hidden md:block">
|
||||
<a href="{{c.permalink}}" class="text-gray-500 hover:text-gray-400">
|
||||
<i class="fas fa-book-open fa-fw mr-2"></i>Context
|
||||
<i class="fas fa-book-open fa-fw mr-1"></i>Context
|
||||
</a>
|
||||
</li>
|
||||
<li class="hidden md:block">
|
||||
<a href="/votes?link={{c.fullname}}" class="text-gray-500 hover:text-gray-400">
|
||||
<i class="fas fa-poll fa-fw mr-2"></i>Votes
|
||||
<i class="fas fa-poll fa-fw mr-1"></i>Votes
|
||||
</a>
|
||||
</li>
|
||||
|
||||
{% if v and c.parent_submission and c.author_id==v.id %}
|
||||
<li>
|
||||
<button class="hover:text-gray-400" onclick="toggleEdit('{{c.id}}')">
|
||||
<i class="fas fa-pencil fa-fw mr-2"></i>Edit
|
||||
<i class="fas fa-pencil fa-fw mr-1"></i>Edit
|
||||
</button>
|
||||
</li>
|
||||
{% endif %}
|
||||
|
@ -230,7 +230,7 @@
|
|||
|
||||
<li class="block md:hidden">
|
||||
<button data-bs-toggle="modal" data-bs-target="#actionsModal-{{c.id}}" data-bs-focus="false">
|
||||
<i class="fas fa-ellipsis-h fa-fw mr-2"></i>
|
||||
<i class="fas fa-ellipsis-h fa-fw mr-1"></i>
|
||||
</button>
|
||||
</li>
|
||||
{% if v and request.path.startswith('/@') and v.admin_level == 0 %}
|
||||
|
|
Loading…
Reference in New Issue