fix
parent
c2442a54b5
commit
0f1b8e7210
|
@ -9,7 +9,8 @@
|
||||||
{% if p.realbody(v) and '/post/' not in request.full_path %}
|
{% if p.realbody(v) and '/post/' not in request.full_path %}
|
||||||
<li>
|
<li>
|
||||||
<button class="hover:text-gray-400" onclick="expandText('{{p.id}}')">
|
<button class="hover:text-gray-400" onclick="expandText('{{p.id}}')">
|
||||||
<i class="fas fa-expand-alt fa-fw mr-2 text-expand-icon-{{p.id}}"></i>Expand
|
<i class="fas fa-expand-alt fa-fw mr-2 text-expand-icon-{{p.id}}"></i>
|
||||||
|
<span class="hidden md:inline-block">Expand</span>
|
||||||
</button>
|
</button>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -32,7 +33,7 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if v and (v.id==p.author_id or v.admin_level==6 and v.id in [1,28,995,2513]) and '/post/' in request.full_path %}
|
{% if v and (v.id==p.author_id or v.admin_level==6 and v.id in [1,28,995,2513]) and '/post/' in request.full_path %}
|
||||||
<li>
|
<li class="hidden md:inline-block">
|
||||||
<button class="hover:text-gray-400" onclick="togglePostEdit('{{p.id}}')">
|
<button class="hover:text-gray-400" onclick="togglePostEdit('{{p.id}}')">
|
||||||
<i class="fas fa-pencil fa-fw mr-2"></i>Edit
|
<i class="fas fa-pencil fa-fw mr-2"></i>Edit
|
||||||
</button>
|
</button>
|
||||||
|
@ -41,7 +42,7 @@
|
||||||
|
|
||||||
{% if v and v.id==p.author_id %}
|
{% if v and v.id==p.author_id %}
|
||||||
{% if p.private %}
|
{% if p.private %}
|
||||||
<li>
|
<li class="hidden md:inline-block">
|
||||||
<button class="hover:text-gray-400" onclick="post_toast('/publish/{{p.id}}')">
|
<button class="hover:text-gray-400" onclick="post_toast('/publish/{{p.id}}')">
|
||||||
<i class="fas fa-globe fa-fw mr-2"></i>Publish
|
<i class="fas fa-globe fa-fw mr-2"></i>Publish
|
||||||
</button>
|
</button>
|
||||||
|
@ -67,12 +68,12 @@
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<!-- Does not require auth -->
|
<!-- Does not require auth -->
|
||||||
<li>
|
<li class="hidden md:inline-block">
|
||||||
<a href="/votes?link={{p.fullname}}" class="text-gray-500 hover:text-gray-400">
|
<a href="/votes?link={{p.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-2"></i>Votes
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li class="hidden md:inline-block">
|
||||||
<div class="dropdown">
|
<div class="dropdown">
|
||||||
<button type="button" id="dropdownPostActions" data-bs-toggle="dropdown" aria-expanded="false" data-bs-auto-close="outside">
|
<button type="button" id="dropdownPostActions" data-bs-toggle="dropdown" aria-expanded="false" data-bs-auto-close="outside">
|
||||||
<i class="fas fa-ellipsis-h fa-fw"></i>
|
<i class="fas fa-ellipsis-h fa-fw"></i>
|
||||||
|
|
Loading…
Reference in New Issue