forked from rDrama/rDrama
fix
parent
25d4717195
commit
6ae205b190
|
@ -8,9 +8,11 @@
|
||||||
</div>
|
</div>
|
||||||
<hr class="mt-6 mb-5 h-0.5 border-b border-gray-300 dark:border-gray-900 shadow-inset-t-white-05"/>
|
<hr class="mt-6 mb-5 h-0.5 border-b border-gray-300 dark:border-gray-900 shadow-inset-t-white-05"/>
|
||||||
<h2 class="ml-2 font-bold text-lg font-heading leading-normal mb-2">Recent Mod Activity</h2>
|
<h2 class="ml-2 font-bold text-lg font-heading leading-normal mb-2">Recent Mod Activity</h2>
|
||||||
|
{% if actions %}
|
||||||
<ul class="flex flex-col divide-y space-y-2 mb-0 list-none">
|
<ul class="flex flex-col divide-y space-y-2 mb-0 list-none">
|
||||||
{% for ma in actions %}
|
{% for ma in actions %}
|
||||||
<li id="action-{{ma.id}}" class="relative">
|
<li id="action-{{ma.id}}" class="relative">
|
||||||
|
<a href="{{ma.permalink}}" class="flex items-center">
|
||||||
<div class="w-6 h-6 flex justify-center items-center flex-shrink-0">
|
<div class="w-6 h-6 flex justify-center items-center flex-shrink-0">
|
||||||
<i class="far {{ ma.icon }} {{ma.color}} text-lg fa-fw"></i>
|
<i class="far {{ ma.icon }} {{ma.color}} text-lg fa-fw"></i>
|
||||||
</div>
|
</div>
|
||||||
|
@ -24,12 +26,14 @@
|
||||||
<span>{{ma.age_string}}</span>
|
<span>{{ma.age_string}}</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
{% else %}
|
{% else %}
|
||||||
<div class="py-4 text-center">
|
<div class="py-4 text-center">
|
||||||
<i class="block fas fa-ghost text-lg text-gray-400 dark:text-gray-700"></i>
|
<i class="block fas fa-ghost text-lg text-gray-400 dark:text-gray-700"></i>
|
||||||
<p class="mt-1 text-sm text-gray-500">No recent mod activity...</p>
|
<p class="mt-1 text-sm text-gray-500">No recent mod activity...</p>
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
Loading…
Reference in New Issue