27 lines
852 B
HTML
27 lines
852 B
HTML
{% extends 'default/templates/renderable/administerable.html' %}
|
|
|
|
{% block content %}
|
|
|
|
{{ content.description.render() }}
|
|
|
|
{% if content.items_ordered|length and content.items_ordered[0].upload %}
|
|
|
|
{{ content.items_ordered[0].upload.render('inline') }}
|
|
|
|
{% endif %}
|
|
|
|
{% if content.items_ordered|length > 1 %}
|
|
<div class="files">
|
|
{% for item in content.items_ordered[1:] %}
|
|
{% if item.upload %}
|
|
<div class="fileinfo">
|
|
<a class="download" href="{{ item.upload.url('download') }}" target="_blank">{{ item.upload.filename }}</a>
|
|
<span class="filesize">{{ item.upload.filesize|filesizeformat }}</span>
|
|
</div>
|
|
{% endif %}
|
|
{% endfor %}
|
|
</div>
|
|
{% endif %}
|
|
|
|
{% endblock %}
|