forked from rDrama/rDrama
1
0
Fork 0
master
kek7198 2021-12-31 11:17:42 -06:00
parent 7659c0c9a4
commit 3b51a28e9d
1 changed files with 2 additions and 1 deletions

View File

@ -17,9 +17,10 @@
{% if actions %} {% 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 %}
{% set iconColor = {{ ma.icon }} %}
<li id="action-{{ma.id}}" class="relative flex"> <li id="action-{{ma.id}}" class="relative flex">
<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 }} {{ colors['{{ ma.icon }}'] }} text-lg fa-fw"></i> <i class="far {{ ma.icon }} {{ colors[iconColor] }} text-lg fa-fw"></i>
</div> </div>
<div class="pl-2 text-gray-500 dark:text-gray-400 text-sm"> <div class="pl-2 text-gray-500 dark:text-gray-400 text-sm">
<div> <div>