datatracker/ietf/templates/submit/submission_files.html
Lars Eggert bbf088e18b Hopefully the final check-ins.
- Legacy-Id: 19909
2022-02-08 17:29:15 +00:00

11 lines
459 B
HTML

{# Copyright The IETF Trust 2015, All Rights Reserved #}
{% load origin %}
{% origin %}
{% for file in files %}
{% if file.exists %}
<a class="btn btn-primary btn-sm float-end ms-1" href="{{ file.url }}" target="_blank">
<i class="bi bi-file-{% if file.ext == 'txt' %}text{% elif file.ext == 'xml' %}code{% elif file.ext == 'pdf' %}pdf{% else %}code{% endif %}"></i>
{{ file.ext }}
</a>
{% endif %}
{% endfor %}