{% extends 'base.html' %}

{% block title %}{{_("Saved Files")}} - {{super()}} {% endblock %}

{% block subtitle %}
{{_("Saved Files")}}
{% endblock %}

{% block content %}

<ul>
    {% for folder in files.folder %}
    <li>
        {{ folder.name }}
        <ul>
        {% for file in folder.files %}
        <li><a href='files/get/{{ folder.path|escape }}/{{ file|escape }}'>{{file}}</a></li>
        {% endfor %}
        </ul>
    </li>
    {% endfor %}

    {% for file in files.files %}
    <li> <a href='files/get/{{ file|escape }}'>{{ file }}</a></li>
    {% endfor %}

</ul>

{% endblock %}