summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/packages/files.html2
-rw-r--r--templates/packages/files_list.html (renamed from templates/packages/files-list.html)5
2 files changed, 3 insertions, 4 deletions
diff --git a/templates/packages/files.html b/templates/packages/files.html
index a564f726..6524fe93 100644
--- a/templates/packages/files.html
+++ b/templates/packages/files.html
@@ -9,7 +9,7 @@
<div id="metadata">
<p><a href="{{ pkg.get_absolute_url }}">Back to Package</a></p>
<p>Package has {{ files_count }} file{{ files_count|pluralize }} and {{ dir_count }} director{{ dir_count|pluralize:"y,ies" }}.</p>
- {% include "packages/files-list.html" %}
+ {% include "packages/files_list.html" %}
</div>
</div>
diff --git a/templates/packages/files-list.html b/templates/packages/files_list.html
index 95a85d24..156d8588 100644
--- a/templates/packages/files-list.html
+++ b/templates/packages/files_list.html
@@ -5,9 +5,8 @@ of the package; it may be out of date.</p>
{% if pkg.files_last_update %}
{% if files|length %}
<ul>
- {% for file in files %}
- <li>{{ file.directory }}{{ file.filename|default:'' }}</li>
- {% endfor %}
+{% for file in files %}
+<li>{{ file.directory }}{{ file.filename|default:'' }}</li>{% endfor %}
</ul>
{% else %}
<p class="message">Package has no files.</p>