{# Copyright (C) 2013 The Debsources developers . See the AUTHORS file at the top-level directory of this distribution and at https://salsa.debian.org/qa/debsources/blob/master/AUTHORS License: GNU Affero General Public License, version 3 or above. #} {# copied from templates/source_folder.html #} {% extends "sources/source_base.html" %} {% block head %} {{ super() }} {% endblock %} {% block title %}Folder: {{ directory }}{% endblock %} {% block source_content %} {% if pkg_infos %} {% import "sources/_macros_infobox.html" as infobox %} {{ infobox.render_infobox(pathl[0][0], pathl[1][0], pkg_infos) }} {% endif %}

{{ self.title() }}

{% if nb_hidden_files %} show hidden ({{ nb_hidden_files }}) {% endif %} {% if config["DIR_LS_LONG"] %}{% endif %} {% if config["DIR_LS_LONG"] %}{% endif %} {% for dir in subdirs %} {% if config["DIR_LS_LONG"] %}{% endif %} {% if config["DIR_LS_LONG"] %}{% endif %} {% endfor %} {% for file in subfiles %} {% if config["DIR_LS_LONG"] %}{% endif %} {% if config["DIR_LS_LONG"] %}{% endif %} {% endfor %}
d .. (parent)
d {{ dir.stat.type }}{{ dir.stat.perms }}{{ "{:,d}".format(dir.stat.size) }}{{ dir.name }} {% if config["DIR_LS_LONG"] %} {% if dir.stat.symlink_dest is not none %}{{ " → " + dir.stat.symlink_dest }}{% endif %} {% endif %}
- {{ file.stat.type }}{{ file.stat.perms }}{{ "{:,d}".format(file.stat.size) }}{{ file.percent_encoded_name }} {% if config["DIR_LS_LONG"] %} {% if file.stat.symlink_dest is not none %}{{ " → " + file.stat.symlink_dest }}{% endif %} {% endif %}
{% endblock %}