evorepo/templates/packages/files-list.html
Dan McGee 1a4db3c7b9 Show a message when filelist is out of date
This addresses FS#21394 and ensures that the website is less misleading when
a package gets new files but they are not yet reflected in the shown list.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-10-21 10:55:44 -05:00

14 lines
358 B
HTML

{% 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 files.count %}
<ul>
{% for file in files %}
<li>{{ file.path }}</li>
{% endfor %}
</ul>
{% else %}
<p class="message">No file list available.</p>
{% endif %}