summaryrefslogtreecommitdiff
path: root/templates/packages/files_list.html
blob: 93a2c847f2d11dd249dfb5f0a6d0b05d9756c679 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{% if pkg.last_update > pkg.files_last_update %}
<p class="message">Note: This file list was generated from a previous version
of the package; it may be out of date.</p>
{% endif %}
{% if pkg.files_last_update %}
{% if files|length %}
<ul>
{% for file in files %}
<li class="{% if file.is_directory %}d{% else %}f{% endif %}">{{ file.directory }}{{ file.filename|default:'' }}</li>{% endfor %}
</ul>
{% else %}
<p class="message">Package has no files.</p>
{% endif %}
{% else %}
<p class="message">No file list available.</p>
{% endif %}