{% load i18n %} {% if object.certificate.all %}

{% trans "Certificates" %}:

{% for certificate in object.certificate.all %} {% if certificate.cert_type == 'A' %} {% elif certificate.cert_type == 'S' %} {% endif %} {% endfor %}
{% trans "Attendance certificate" %} ⬇️ download
{% trans "Speaker certificate for" %} "{{ certificate.talk.title }}" ⬇️ download
{% endif %}