datatracker/ietf/templates/submit/submission_files.html
Lars Eggert cc723ce449 More fixes.
- Legacy-Id: 19899
2022-01-31 19:17:50 +00:00

12 lines
477 B
HTML

{# bs5ok #}
{# 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">
<span class="bi bi-file-{% if file.ext == 'txt' %}text{% elif file.ext == 'xml' %}code{% elif file.ext == 'pdf' %}pdf{% else %}code{% endif %}"></span>
{{ file.ext }}
</a>
{% endif %}
{% endfor %}