mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 13:54:23 +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>
|
||||||
<div class="wl-col list">
|
<div class="wl-col list">
|
||||||
{%- if w.referrers|length > 0 -%}
|
{%- if w.referrers|length > 0 -%}
|
||||||
{% for r in w.referrers %}
|
{% for r in w.referrersHistory %}
|
||||||
<span class="wl-item">
|
<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 %}
|
{% if not loop.last %}, {% endif %}
|
||||||
</span>
|
</span>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
@ -33,8 +33,8 @@
|
|||||||
{% if w.referrers %}
|
{% if w.referrers %}
|
||||||
<li>
|
<li>
|
||||||
<span class="item-key">{{ 'Referrers'|trans ~ ' : ' }}</span>
|
<span class="item-key">{{ 'Referrers'|trans ~ ' : ' }}</span>
|
||||||
{% for rh in w.referrers %}
|
{% for rh in w.referrersHistory %}
|
||||||
<span class="badge-user">{{ rh|chill_entity_render_box }}</span>
|
<span class="badge-user">{{ rh.user|chill_entity_render_box({'at_date': rh.startDate}) }}</span>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% if w.referrers|length == 0 %}
|
{% if w.referrers|length == 0 %}
|
||||||
<span class="chill-no-data-statement">{{ 'Not given'|trans }}</span>
|
<span class="chill-no-data-statement">{{ 'Not given'|trans }}</span>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user