{% extends "touchtechnology/content/admin/base.html" %}
{% load i18n %}
{% load common %}
{% block body_class %}{{ block.super }} files component{% endblock %}
{% block extrahead %}{{ block.super }}
{% endblock %}
{% block content %}
{% trans "Folders" %}
{% for fullpath, d, listdir in directories %}
{{ d }} |
{% if listdir.0 or listdir.1 %}
{% trans "Not empty" %}
{% else %}
{% if writable %}
{% trans "Delete" %}
{% else %}
{% trans "Protected" %}
{% endif %}
{% endif %}
|
{% empty %}
{% blocktrans with in=path|default_if_none:"file store."|slice:"-1" %}No directories in {{ in }}.{% endblocktrans %} |
{% endfor %}
{% trans "Files" %}
{% for f in files %}
{{ f }} |
{% if writable %}
{% trans "Delete" %}
{% else %}
{% trans "Protected" %}
{% endif %}
|
{% empty %}
{% blocktrans with in=path|default_if_none:"file store."|slice:"-1" %}No files in {{ in }}.{% endblocktrans %} |
{% endfor %}
{% endblock %}