Always alternate queue priority background colors

This commit is contained in:
Joscha 2023-08-06 21:04:51 +02:00
parent 6af47b8c30
commit 02b9468308
3 changed files with 19 additions and 9 deletions

View file

@ -8,7 +8,7 @@
</thead>
<tbody>
{% for task in tasks %}
<tr {% if task.priority % 2==1 %}class="odd" {% endif %}>
<tr {% if task.odd %} class="odd" {% endif %}>
<td><a href="{{ task.id }}">{{ task.short }}</a></td>
<td>{{ task.since }}</td>
<td>{{ task.priority }}</td>