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>
|
<tr>
|
||||||
<td>{{ entity.startDate|format_datetime('medium') }}</td>
|
<td>{{ entity.startDate|format_datetime('medium') }}</td>
|
||||||
<td>
|
<td>
|
||||||
{{ (entity.endDate is null)
|
{% if entity.endDate is not null %}
|
||||||
? "crud.admin_user_scope_history.index.today"|trans
|
{{ entity.endDate|format_datetime('medium') }}
|
||||||
: entity.endDate|format_datetime('medium') }}
|
{% else %}
|
||||||
|
<i class="opacity-50">{{ "crud.admin_user_scope_history.index.today"|trans }}</i>
|
||||||
|
{% endif %}
|
||||||
</td>
|
</td>
|
||||||
<td>{{ entity.user.usernameCanonical }}</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>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@ -15,12 +15,20 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<td>{{ entity.startDate|format_datetime('medium') }}</td>
|
<td>{{ entity.startDate|format_datetime('medium') }}</td>
|
||||||
<td>
|
<td>
|
||||||
{{ (entity.endDate is null)
|
{% if entity.endDate is not null %}
|
||||||
? "crud.admin_user_job_history.index.today"|trans
|
{{ entity.endDate|format_datetime('medium') }}
|
||||||
: entity.endDate|format_datetime('medium') }}
|
{% else %}
|
||||||
|
<i class="opacity-50">{{ "crud.admin_user_job_history.index.today"|trans }}</i>
|
||||||
|
{% endif %}
|
||||||
</td>
|
</td>
|
||||||
<td>{{ entity.user.usernameCanonical }}</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>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@ -394,7 +394,8 @@ crud:
|
|||||||
title: Historique des métiers
|
title: Historique des métiers
|
||||||
start: Du
|
start: Du
|
||||||
end: Jusque
|
end: Jusque
|
||||||
today: aujourd'hui
|
today: en cours
|
||||||
|
undefined: non défini
|
||||||
user: Utilisateur
|
user: Utilisateur
|
||||||
job: Métier
|
job: Métier
|
||||||
Show job history: Voir l'historique
|
Show job history: Voir l'historique
|
||||||
@ -404,7 +405,8 @@ crud:
|
|||||||
title: Historique des cercles
|
title: Historique des cercles
|
||||||
start: Du
|
start: Du
|
||||||
end: Jusque
|
end: Jusque
|
||||||
today: aujourd'hui
|
today: en cours
|
||||||
|
undefined: non défini
|
||||||
user: Utilisateur
|
user: Utilisateur
|
||||||
scope: Cercle
|
scope: Cercle
|
||||||
Show scope history: Voir l'historique
|
Show scope history: Voir l'historique
|
||||||
|
Loading…
x
Reference in New Issue
Block a user