mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
FEATURE [documents][listing] show document titles in activity listing if there are any and user has see_detail rights
This commit is contained in:
parent
aacb54037b
commit
23cee274a5
@ -165,6 +165,22 @@
|
|||||||
documents
|
documents
|
||||||
attendee
|
attendee
|
||||||
#}
|
#}
|
||||||
|
|
||||||
|
{% if is_granted('CHILL_ACTIVITY_SEE_DETAILS', activity) and activity.documents|length > 0 %}
|
||||||
|
<div class="wl-row">
|
||||||
|
<div class="wl-col title">
|
||||||
|
<h3>{{ 'Documents'|trans }}</h3>
|
||||||
|
</div>
|
||||||
|
<div class="wl-col list">
|
||||||
|
<ul>
|
||||||
|
{% for d in activity.documents %}
|
||||||
|
<li>{{ d.title }}</li>
|
||||||
|
{% endfor %}
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user