update template
This commit is contained in:
parent
6a66fe3210
commit
e9b44e56ac
|
@ -41,36 +41,40 @@
|
|||
|
||||
{{ entity.date|date('d/m/Y') }}
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<span class="font-weight-bold pb-2 d-block">Projets</span>
|
||||
{% if entity.projects|length %}
|
||||
<li class="list-group-item">
|
||||
<span class="font-weight-bold pb-2 d-block">Projets</span>
|
||||
|
||||
{% for item in entity.projects %}
|
||||
{{ item.label }}<br>
|
||||
{% else %}
|
||||
Aucun projet
|
||||
{% endfor %}
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<span class="font-weight-bold pb-2 d-block">Contributeurs internes</span>
|
||||
{% for item in entity.projects %}
|
||||
{{ item.label }}<br>
|
||||
{% endfor %}
|
||||
</li>
|
||||
{% endif %}
|
||||
{% if entity.internalContributors %}
|
||||
<li class="list-group-item">
|
||||
<span class="font-weight-bold pb-2 d-block">Contributeur.trice⋅s interne(s)</span>
|
||||
|
||||
{{ entity.internalContributors|nl2br }}
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<span class="font-weight-bold pb-2 d-block">Contributeurs externes</span>
|
||||
{{ entity.internalContributors|nl2br }}
|
||||
</li>
|
||||
{% endif %}
|
||||
{% if entity.externalContributors %}
|
||||
<li class="list-group-item">
|
||||
<span class="font-weight-bold pb-2 d-block">Contributeur.trice⋅s externe(s)</span>
|
||||
|
||||
{{ entity.externalContributors|nl2br }}
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<span class="font-weight-bold pb-2 d-block">Fichiers</span>
|
||||
{{ entity.externalContributors|nl2br }}
|
||||
</li>
|
||||
{% endif %}
|
||||
{% if entity.files %}
|
||||
<li class="list-group-item">
|
||||
<span class="font-weight-bold pb-2 d-block">Fichiers</span>
|
||||
|
||||
{% for item in entity.files %}
|
||||
<a class="btn btn-light border btn-sm mb-2 d-block" href="{{ asset(item.file) }}" target="_blank">
|
||||
{{ item.name }}
|
||||
</a>
|
||||
{% else %}
|
||||
-
|
||||
{% endfor %}
|
||||
</li>
|
||||
{% for item in entity.files %}
|
||||
<a class="btn btn-light border btn-sm mb-2 d-block" href="{{ asset(item.file) }}" target="_blank">
|
||||
{{ item.name }}
|
||||
</a>
|
||||
{% endfor %}
|
||||
</li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-9 p-3">
|
||||
|
|
Loading…
Reference in a new issue