{% extends "mini_buildd/base.html" %} {% block title %}{% block page_title %}{{ route|title }} dir: /{{ path }}{% endblock %}{% endblock %} {% block subtitle %}Directory Listing{% endblock %} {% block section %} {% if view.mbd_scandir %} {% mbd_token as table_id %} {% mbd_datatable table_id order='[1, "asc"]' %} {% for direntry in view.mbd_scandir %} {% with typ=direntry.is_dir|yesno:"dir,file" apx=direntry.is_dir|yesno:"/," mtime=direntry.stat.st_mtime|mbd_fromtimestamp %} {% endwith %} {% endfor %}
Type Name Size Modified
{% mbd_img typ typ %} {{ direntry.name }}{{ apx }} {{ direntry.stat.st_size }} {{ mtime|date:"r" }}
{% else %} {% mbd_file file_path=view.mbd_fullpath uri=view.mbd_static_uri %} {% endif %} {% endblock %}