Affiche les entrées de l'accueil comme sur /entries

Les tableaux « Aujourd'hui » et « Dernières entrées » réutilisent
_entry_row.html : mêmes colonnes, en-tête et actions (modifier,
dupliquer, supprimer).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Romulus21andClaude Opus 5.5 committed 2026-11-13 18:17:47 +01:00
1 parent f4c94f9b5b
commit 6307be4f79
3 files changed
+11 -26

No files matched your search

+2 -11
View File
@@ -8,18 +8,9 @@
{% else %}
<div class="table-wrap">
<table class="entries">
<thead><tr><th>Jour</th><th>Horaire</th><th>Projet</th><th>Note</th><th class="num">Durée</th><th></th></tr></thead>
<tbody>
{% for e in recent_entries %}
<tr{% if e.running() %} class="running"{% endif %}>
<td class="nowrap">{{ e.day() }}</td>
<td class="time">{{ e.start_time() }} – {{ e.end_time() }}</td>
<td>
<span class="dot" style="--color: {{ e.color }}"></span><span class="client">{{ e.client_name }}</span> / {{ e.project_name }}
{% if !e.note.is_empty() %}<div class="note">{{ e.note }}</div>{% endif %}
</td>
<td class="num">{{ e.duration() }}</td>
</tr>
{% endfor %}
{% for e in recent_entries %}{% include "_entry_row.html" %}{% endfor %}
</tbody>
</table>
</div>