{% extends "mini_buildd/base.html" %} {% block title %}{% block titledup %}{{ route|title }} dir: /{{ path }}{% endblock %}{% endblock %} {% block tooltip %}Directory Listing{% endblock %} {% block content %} {% 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:"places/folder,mimetypes/text-x-generic" apx=direntry.is_dir|yesno:"/," mtime=direntry.stat.st_mtime|mbd_fromtimestamp %} {% endwith %} {% endfor %}
Type Name Size Modified
{{ 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 %}