{% 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('', true) }}</li>{% endfor %}
</ul>
{% else %}
<p class="message">Package has no files.</p>
{% endif %}
{% else %}
<p class="message">No file list available.</p>
{% endif %}
