summaryrefslogtreecommitdiffstats
path: root/templates/packages/files-list.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/packages/files-list.html')
-rw-r--r--templates/packages/files-list.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/packages/files-list.html b/templates/packages/files-list.html
index 9b4c83a..d26a11e 100644
--- a/templates/packages/files-list.html
+++ b/templates/packages/files-list.html
@@ -1,8 +1,12 @@
<div class="listing" id="filelist">
<h4>Files:</h4>
+ {% if files.count %}
<ul style="font-size:small;list-style:none">
{% for file in files %}
<li>{{ file.path }}</li>
{% endfor %}
</ul>
+ {% else %}
+ <p style="padding: 10px 20px;">No filelist available.</p>
+ {% endif %}
</div>