ui: Show red clock for revoked offers.

This commit is contained in:
tecnovert
2022-10-25 23:41:51 +02:00
parent 50ed1bfccf
commit 45d6b9ecbf
3 changed files with 6 additions and 5 deletions

View File

@@ -206,13 +206,13 @@
<td scope="row" class="flex items-center py-7 px-46 text-gray-900 whitespace-nowrap">
<svg class="w-5 h-5 rounded-full ml-5" xmlns="http://www.w3.org/2000/svg" height="20" width="20" viewBox="0 0 24 24">
<g stroke-linecap="round" stroke-width="2" fill="none" stroke="{% if o[11]==true %}#6b7280{% else %}#3B82F6{% endif %}" stroke-linejoin="round" class="nc-icon-wrapper">
<g stroke-linecap="round" stroke-width="2" fill="none" stroke="{% if o[12]==2 %}#AC0000{% elif o[11]==true %}#6b7280{% else %}#3B82F6{% endif %}" stroke-linejoin="round" class="nc-icon-wrapper">
<circle cx="12" cy="12" r="11"></circle>
<polyline points=" 12,6 12,12 18,12 " stroke="{% if o[11]==true %}#6b7280{% else %}#3B82F6{% endif %}"></polyline>
<polyline points=" 12,6 12,12 18,12 " stroke="{% if o[12]==2 %}#AC0000{% elif o[11]==true %}#6b7280{% else %}#3B82F6{% endif %}"></polyline>
</g>
</svg>
<div class="pl-3">
<div class="{% if o[11]==true %}text-coolGray-500{% else %}font-semibold{% endif %} text-xs">{{ o[0] }}</div>
<div class="{% if o[11]==true or o[12]==2 %}text-coolGray-500{% else %}font-semibold{% endif %} text-xs">{{ o[0] }}</div>
</div>
</td>
<!--<td class="py-4 px-6 text-xs"><a class="monospace text-xs" href=/offer/{{ o[1] }}>{{ o[1]|truncate(6, True) }}</a></td>-->