add themes in main city page
This commit is contained in:
parent
952254b5d0
commit
03fede15aa
5 changed files with 91 additions and 18 deletions
|
|
@ -42,9 +42,14 @@
|
|||
title="Voir le graphe détaillé">
|
||||
<i class="bi bi-bar-chart"></i>
|
||||
</a>
|
||||
{{ tag_emoji(type) }} {{ type }}
|
||||
{% if theme_icons[type] is defined %}
|
||||
<i class="bi {{ theme_icons[type] }}"></i>
|
||||
{% else %}
|
||||
{{ tag_emoji(type) }}
|
||||
{% endif %}
|
||||
{{ theme_labels[type]|default(type) }}
|
||||
</td>
|
||||
<td class="text-end">{{ evo.now }}</td>
|
||||
<td class="text-end">{{ evo.now ?? '-' }}</td>
|
||||
{% for p in periods %}
|
||||
<td class="text-end{% if evo[p] is not null and evo[p] != 0 %} bg-success-subtle{% if evo[p] < 0 %} bg-danger-subtle{% endif %}{% endif %}">
|
||||
{% if evo[p] is not null %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue