forked from rDrama/rDrama
fix
parent
6740d681c6
commit
71870db093
|
@ -45,6 +45,16 @@
|
|||
<i class="fas fa-gift fa-fw mr-2" aria-hidden="true"></i>Gift 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-sm fa-fw mr-4"></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-sm fa-fw mr-4"></i>Save
|
||||
</button>
|
||||
</li>
|
||||
{% endif %}
|
||||
|
||||
<li class="hidden md:block">
|
||||
|
@ -79,22 +89,7 @@
|
|||
<i class="fas fa-book-open fa-sm fa-fw mr-4"></i>Context
|
||||
</a>
|
||||
</li>
|
||||
{% if v %}
|
||||
<li id="unsave-{{c.id}}" class="hidden {% if c.id in v.saved_comment_idlist() %}md:block{% endif %}">
|
||||
<button class="dropdown-item block w-full text-left px-4 py-2 text-sm text-gray-200 bg-gradient-to-t hover:from-red-800 hover:to-red-700 hover:shadow-inner focus:shadow-inner focus:bg-gradient-to-t focus:from-red-800 focus:to-red-700" onclick="post_toast3('/unsave_comment/{{c.id}}','save-{{c.id}}','unsave-{{c.id}}')">
|
||||
<i class="fas fa-bookmark fa-sm fa-fw mr-4"></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="dropdown-item block w-full text-left px-4 py-2 text-sm text-gray-200 bg-gradient-to-t hover:from-red-800 hover:to-red-700 hover:shadow-inner focus:shadow-inner focus:bg-gradient-to-t focus:from-red-800 focus:to-red-700" onclick="post_toast3('/save_comment/{{c.id}}','save-{{c.id}}','unsave-{{c.id}}')">
|
||||
<i class="far fa-bookmark fa-sm fa-fw mr-4"></i>Save
|
||||
</button>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% if v and c.parent_submission and c.author_id==v.id %}
|
||||
<li>
|
||||
<hr class="mt-2 mb-1.5 border-t border-black h-1 shadow-inset-t-white-05"/>
|
||||
</li>
|
||||
<li class="hidden md:block">
|
||||
<button class="dropdown-item block w-full text-left px-4 py-2 text-sm text-gray-200 bg-gradient-to-t hover:from-red-800 hover:to-red-700 hover:shadow-inner focus:shadow-inner focus:bg-gradient-to-t focus:from-red-800 focus:to-red-700" onclick="toggleEdit('{{c.id}}')">
|
||||
<i class="fas fa-edit fa-sm fa-fw mr-4"></i>Edit
|
||||
|
|
Loading…
Reference in New Issue