fix
parent
84a0677bdd
commit
528ecaafea
|
@ -11,12 +11,14 @@
|
|||
Moderation Log
|
||||
</h1>
|
||||
<ul class="flex space-x-2 text-xs text-gray-500 dark:text-gray-400 leading-normal mb-0">
|
||||
{% if v and v.admin_level > 2 %}
|
||||
<li>
|
||||
<a href="/admin" class="text-gray-500 hover:underline">Admin Dashboard</a>
|
||||
</li>
|
||||
<li>
|
||||
<i class="fas fa-arrow-alt-right text-shadow fa-fw fa-sm"></i>
|
||||
</li>
|
||||
{% endif %}
|
||||
<li>
|
||||
<a href="#" class="text-gray-700 dark:text-gray-500 hover:underline">Moderation Log</a>
|
||||
</li>
|
||||
|
@ -32,16 +34,18 @@
|
|||
{% endif %}
|
||||
</button>
|
||||
<ul class="dropdown-menu w-56 bg-gray-900 rounded-md shadow-lg" aria-labelledby="dropdownLogSortsButton" x-placement="bottom-start">
|
||||
<li class="{% if request.path=="/admin/reported/posts" %}hidden{% endif %}">
|
||||
<a class="dropdown-item dropdown-item-primary" href="/admin/reported/posts">
|
||||
<i class="fas fa-pencil fa-sm fa-fw mr-4"></i>Posts
|
||||
<li>
|
||||
<a class="dropdown-item" href="/log{% if type %}?kind={{type}}{% endif %}">
|
||||
<img src="/assets/images/emojis/marseyjanny.webp" alt="default mod avatar" class="w-8 h-8 object-cover mr-2">All
|
||||
</a>
|
||||
</li>
|
||||
<li class="{% if request.path=="/admin/reported/comments" %}hidden{% endif %}">
|
||||
<a class="dropdown-item dropdown-item-primary" href="/admin/reported/comments">
|
||||
<i class="fas fa-comment-alt fa-sm fa-fw mr-4"></i>Comments
|
||||
{% for a in admins %}
|
||||
<li>
|
||||
<a class="dropdown-item" href="?admin={{a}}{% if type %}&kind={{type}}{% endif %}">
|
||||
<img src="/@{{a}}/pic" alt="{{ a }} avatar" class="w-8 h-8 object-cover mr-2">{{ a }}
|
||||
</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue