mycreole/templates/mycreole/manageuploads.html

30 lines
684 B
HTML

{% extends "themes/"|add:settings.page_theme|add:"/base.html" %}
{% load static %}
{% load i18n %}
{% block content %}
<h1>Attachments</h1>
<table>
<tbody>
<tr>
<th>Name</th>
<th>Size</th>
<th>Actions</th>
</tr>
{% for key, value in attachments.items %}
<tr>
<td>{{ key }}</td>
<td>{{ value.size }}</td>
<td>
{% for icon, url, alt in value.actions %}
<a href="{{ url }}"><img src="{{ icon }}" alt={{ alt }}></a>
{% endfor %}
</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endblock content %}