mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
make tables more readable in templates
This commit is contained in:
parent
6228cc5ede
commit
c590d60a7f
@ -15,12 +15,20 @@
|
||||
<tr>
|
||||
<td>{{ entity.startDate|format_datetime('medium') }}</td>
|
||||
<td>
|
||||
{{ (entity.endDate is null)
|
||||
? "crud.admin_user_scope_history.index.today"|trans
|
||||
: entity.endDate|format_datetime('medium') }}
|
||||
{% if entity.endDate is not null %}
|
||||
{{ entity.endDate|format_datetime('medium') }}
|
||||
{% else %}
|
||||
<i class="opacity-50">{{ "crud.admin_user_scope_history.index.today"|trans }}</i>
|
||||
{% endif %}
|
||||
</td>
|
||||
<td>{{ entity.user.usernameCanonical }}</td>
|
||||
<td>{{ entity.scope.name|localize_translatable_string }}</td>
|
||||
<td>
|
||||
{% if entity.scope %}
|
||||
{{ entity.scope.name|localize_translatable_string }}
|
||||
{% else %}
|
||||
<i class="opacity-50">{{ 'crud.admin_user_scope_history.index.undefined'|trans }}</i>
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
{% endblock %}
|
||||
|
@ -15,12 +15,20 @@
|
||||
<tr>
|
||||
<td>{{ entity.startDate|format_datetime('medium') }}</td>
|
||||
<td>
|
||||
{{ (entity.endDate is null)
|
||||
? "crud.admin_user_job_history.index.today"|trans
|
||||
: entity.endDate|format_datetime('medium') }}
|
||||
{% if entity.endDate is not null %}
|
||||
{{ entity.endDate|format_datetime('medium') }}
|
||||
{% else %}
|
||||
<i class="opacity-50">{{ "crud.admin_user_job_history.index.today"|trans }}</i>
|
||||
{% endif %}
|
||||
</td>
|
||||
<td>{{ entity.user.usernameCanonical }}</td>
|
||||
<td>{{ entity.job.label|localize_translatable_string }}</td>
|
||||
<td>
|
||||
{% if entity.job %}
|
||||
{{ entity.job.label|localize_translatable_string }}
|
||||
{% else %}
|
||||
<i class="opacity-50">{{ 'crud.admin_user_job_history.index.undefined'|trans }}</i>
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
{% endblock %}
|
||||
|
@ -394,7 +394,8 @@ crud:
|
||||
title: Historique des métiers
|
||||
start: Du
|
||||
end: Jusque
|
||||
today: aujourd'hui
|
||||
today: en cours
|
||||
undefined: non défini
|
||||
user: Utilisateur
|
||||
job: Métier
|
||||
Show job history: Voir l'historique
|
||||
@ -404,7 +405,8 @@ crud:
|
||||
title: Historique des cercles
|
||||
start: Du
|
||||
end: Jusque
|
||||
today: aujourd'hui
|
||||
today: en cours
|
||||
undefined: non défini
|
||||
user: Utilisateur
|
||||
scope: Cercle
|
||||
Show scope history: Voir l'historique
|
||||
|
Loading…
x
Reference in New Issue
Block a user