forked from rDrama/rDrama
fix
parent
767f2d03e6
commit
7e84d17a75
|
@ -118,7 +118,7 @@
|
|||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
{% if v and v.admin_level==6 and v.id==c.author_id %}
|
||||
{% if v and v.admin_level > 0 and v.id==c.author_id %}
|
||||
<li id="undistinguish-{{c.id}}" class="hidden {% if c.distinguish_level %}md:block{% endif %}">
|
||||
<button class="dropdown-item dropdown-item-primary" onclick="post_toast3('/distinguish_comment/{{c.id}}','distinguish-{{c.id}}','undistinguish-{{c.id}}','no')">
|
||||
<i class="fas fa-id-badge text-info fa-sm fa-fw mr-4"></i>Undistinguish
|
||||
|
|
|
@ -81,7 +81,7 @@
|
|||
</li>
|
||||
{% endif %}
|
||||
{% if v %}
|
||||
{% if v.admin_level>=1 and v.id==c.author_id %}
|
||||
{% if v.admin_level > 0 and v.id==c.author_id %}
|
||||
<li id="distinguish2-{{c.id}}" class="{% if c.distinguish_level %}hidden{% endif %}">
|
||||
<button class="btn btn-gray w-full text-left" onclick="post_toast2('/distinguish_comment/{{c.id}}','distinguish2-{{c.id}}','undistinguish2-{{c.id}}')">
|
||||
<i class="fas fa-id-badge fa-fw mr-4"></i>Distinguish
|
||||
|
|
Loading…
Reference in New Issue