Files
dossier/app/tpl/print/parts/certs.html.twig

16 lines
668 B
Twig
Raw Normal View History

2018-08-23 16:44:53 +02:00
<section class="certs">
<h2>{{ 'certs.header'|trans }}</h2>
{% for entry in cv.filterByCertificates() %}
{% for cert in entry.certificates %}
<div class="certificate">
<figure>
<figcaption>
<h3>{{ entry.position }} {% if cert.type %}- {{ cert.type }}{% endif %}
<small>{{ entry.endDate.format('Y') }} - {{ entry.company }}</small></h3>
</figcaption>
<img src="{{ cert.dataUri|raw }}" alt="{{ cert.fileObject.filename }}">
</figure>
</div>
{% endfor %}
{% endfor %}
</section>