fix
parent
1160faf83f
commit
b27dfe8efb
|
@ -78,25 +78,25 @@
|
|||
</li>
|
||||
|
||||
<li id="save2-{{p.id}}" class="{% if p.id in v.saved_idlist() %}hidden{% endif %}">
|
||||
<button class="btn btn-gray" onclick="post_toast2('/save_post/{{p.id}}','save2-{{p.id}}','unsave2-{{p.id}}')">
|
||||
<button class="btn btn-gray w-full text-left" onclick="post_toast2('/save_post/{{p.id}}','save2-{{p.id}}','unsave2-{{p.id}}')">
|
||||
<i class="far fa-save text-center text-muted mr-3"></i>Save
|
||||
</button>
|
||||
</li>
|
||||
|
||||
<li id="unsave2-{{p.id}}" class="{% if not p.id in v.saved_idlist() %}hidden{% endif %}">
|
||||
<button id="btn btn-gray" onclick="post_toast2('/unsave_post/{{p.id}}','save2-{{p.id}}','unsave2-{{p.id}}')">
|
||||
<button id="btn btn-gray w-full text-left" onclick="post_toast2('/unsave_post/{{p.id}}','save2-{{p.id}}','unsave2-{{p.id}}')">
|
||||
<i class="fas fa-save text-center text-muted mr-3"></i>Unsave
|
||||
</button>
|
||||
</li>
|
||||
|
||||
{% if v.admin_level > 1 or v.id == p.author.id and v.paid_dues %}
|
||||
<li id="club2-{{p.id}}" class="{% if p.club %}hidden{% endif %}">
|
||||
<button class="btn btn-gray" onclick="post_toast2('/toggle_club/{{p.id}}','club2-{{p.id}}','unclub2-{{p.id}}')">
|
||||
<button class="btn btn-gray w-full text-left" onclick="post_toast2('/toggle_club/{{p.id}}','club2-{{p.id}}','unclub2-{{p.id}}')">
|
||||
<i class="fas fa-eye-slash mr-3"></i>Mark club
|
||||
</button>
|
||||
</li>
|
||||
<li id="unclub2-{{p.id}}" class="{% if not p.club %}hidden{% endif %}">
|
||||
<button class="btn btn-gray" onclick="post_toast2('/toggle_club/{{p.id}}','club2-{{p.id}}','unclub2-{{p.id}}')">
|
||||
<button class="btn btn-gray w-full text-left" onclick="post_toast2('/toggle_club/{{p.id}}','club2-{{p.id}}','unclub2-{{p.id}}')">
|
||||
<i class="fas fa-eye mr-3"></i>Unmark club
|
||||
</button>
|
||||
</li>
|
||||
|
@ -104,23 +104,23 @@
|
|||
|
||||
{% if v.admin_level > 0 %}
|
||||
<li id="pin2-{{p.id}}" class="{% if p.stickied %}hidden{% endif %}">
|
||||
<button class="btn btn-gray" onclick="post_toast2('/sticky/{{p.id}}','pin2-{{p.id}}','unpin2-{{p.id}}')">
|
||||
<button class="btn btn-gray w-full text-left" onclick="post_toast2('/sticky/{{p.id}}','pin2-{{p.id}}','unpin2-{{p.id}}')">
|
||||
<i class="fas fa-thumbtack fa-rotate--45 text-center mr-3"></i>Pin
|
||||
</button>
|
||||
</li>
|
||||
<li id="unpin2-{{p.id}}" class="{% if not p.stickied %}hidden{% endif %}">
|
||||
<button class="btn btn-gray" onclick="post_toast2('/sticky/{{p.id}}','pin2-{{p.id}}','unpin2-{{p.id}}')">
|
||||
<button class="btn btn-gray w-full text-left" onclick="post_toast2('/sticky/{{p.id}}','pin2-{{p.id}}','unpin2-{{p.id}}')">
|
||||
<i class="fas fa-thumbtack fa-rotate--45 text-center mr-3"></i>Unpin
|
||||
</button>
|
||||
</li>
|
||||
{% if v==p.author %}
|
||||
<li id="distinguish2-{{p.id}}" class="{% if p.distinguish_level %}hidden{% endif %}">
|
||||
<button class="btn btn-gray" onclick="post_toast2('/distinguish/{{p.id}}','distinguish2-{{p.id}}','undistinguish2-{{p.id}}')">
|
||||
<button class="btn btn-gray w-full text-left" onclick="post_toast2('/distinguish/{{p.id}}','distinguish2-{{p.id}}','undistinguish2-{{p.id}}')">
|
||||
<i class="fas fa-crown text-center mr-3"></i>Distinguish
|
||||
</button>
|
||||
</li>
|
||||
<li id="undistinguish2-{{p.id}}" class="{% if not p.distinguish_level %}hidden{% endif %}">
|
||||
<button class="btn btn-gray" onclick="post_toast2('/distinguish/{{p.id}}','distinguish2-{{p.id}}','undistinguish2-{{p.id}}')">
|
||||
<button class="btn btn-gray w-full text-left" onclick="post_toast2('/distinguish/{{p.id}}','distinguish2-{{p.id}}','undistinguish2-{{p.id}}')">
|
||||
<i class="fas fa-crown text-center mr-3"></i>Undistinguish
|
||||
</button>
|
||||
</li>
|
||||
|
|
Loading…
Reference in New Issue