template comparaison

This commit is contained in:
Tykayn 2025-09-01 12:38:56 +02:00 committed by tykayn
parent 466f9c773b
commit 428a9e2f35
3 changed files with 80 additions and 1 deletions

View file

@ -104,7 +104,15 @@
</div>
{% endif %}
</td>
<td>{{ change.change_size }}</td>
<td>
{% if change.change_size starts with '+' or change.change_size > 0 %}
<span class="text-success">{{ change.change_size }}</span>
{% elseif change.change_size starts with '' or change.change_size < 0 %}
<span class="text-danger">{{ change.change_size }}</span>
{% else %}
{{ change.change_size }}
{% endif %}
</td>
<td>
<a href="{{ change.page_url }}" target="_blank" class="btn btn-sm btn-outline-primary">
<i class="bi bi-box-arrow-up-right"></i> Voir