Initial commit
This commit is contained in:
16
app/tpl/print/parts/certs.html.twig
Normal file
16
app/tpl/print/parts/certs.html.twig
Normal file
@@ -0,0 +1,16 @@
|
||||
<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>
|
||||
Reference in New Issue
Block a user