apps list: nicer display of table, show time

This commit is contained in:
Philippe Loctaux 2023-04-16 21:57:05 +02:00
parent 800705e134
commit e3bda01eca

View file

@ -44,7 +44,7 @@
{% if apps | length != 0 %}
<div class="card">
<div id="table-default" class="table-responsive">
<table class="table table-hover">
<table class="table table-hover table-vcenter">
<!-- Table header -->
<thead>
<tr>
@ -77,7 +77,7 @@
{% for app in apps %}
<tr>
<td class="sort-name">{{ app.label }}</td>
<td class="sort-status">
<td class="sort-status text-nowrap">
{% if app.is_archived == true %}
<span class="badge bg-danger me-1"></span> Archived
{% else %}
@ -85,7 +85,7 @@
{% endif %}
</td>
<td class="sort-creation-date" data-date='{{ app.created_at | date(format="%s") }}'>
{{ app.created_at | date(format="%F", timezone=user.zoneinfo | default(value="UTC")) }}
{{ app.created_at | date(format="%F %T", timezone=user.zoneinfo | default(value="UTC")) }}
</td>
<td class="sort-id">{{ app.id }}</td>
<td class="sort-confidentiality">