Fix: last_checkin datetime to string avec |string filtre Jinja2
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
067dec6bcd
commit
c16c628e96
@ -133,7 +133,7 @@
|
||||
<td class="p-2 font-mono text-cyber-accent">{{ a.hostname }}</td>
|
||||
<td class="p-2 text-center text-gray-400">{{ a.os or '-' }}</td>
|
||||
<td class="p-2 text-center font-mono">{{ a.agent_version or '-' }}</td>
|
||||
<td class="p-2 text-center text-cyber-yellow">{{ a.last_checkin[:10] if a.last_checkin else '-' }}</td>
|
||||
<td class="p-2 text-center text-cyber-yellow">{% if a.last_checkin %}{{ (a.last_checkin|string)[:10] }}{% else %}-{% endif %}</td>
|
||||
<td class="p-2 text-center">{{ a.etat or '-' }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user