mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Adapt the rendering of user in accompanyingPeriodWork list and item templates
This commit is contained in:
parent
b46883fe36
commit
6c9101c167
@ -83,9 +83,9 @@
|
||||
</div>
|
||||
<div class="wl-col list">
|
||||
{%- if w.referrers|length > 0 -%}
|
||||
{% for r in w.referrers %}
|
||||
{% for r in w.referrersHistory %}
|
||||
<span class="wl-item">
|
||||
<span class="badge-user">{{ r|chill_entity_render_box }}</span>
|
||||
<span class="badge-user">{{ r.user|chill_entity_render_box({'at_date': r.startDate}) }}</span>
|
||||
{% if not loop.last %}, {% endif %}
|
||||
</span>
|
||||
{% endfor %}
|
||||
|
@ -33,8 +33,8 @@
|
||||
{% if w.referrers %}
|
||||
<li>
|
||||
<span class="item-key">{{ 'Referrers'|trans ~ ' : ' }}</span>
|
||||
{% for rh in w.referrers %}
|
||||
<span class="badge-user">{{ rh|chill_entity_render_box }}</span>
|
||||
{% for rh in w.referrersHistory %}
|
||||
<span class="badge-user">{{ rh.user|chill_entity_render_box({'at_date': rh.startDate}) }}</span>
|
||||
{% endfor %}
|
||||
{% if w.referrers|length == 0 %}
|
||||
<span class="chill-no-data-statement">{{ 'Not given'|trans }}</span>
|
||||
|
Loading…
x
Reference in New Issue
Block a user