diff options
Diffstat (limited to 'templates/packages')
-rw-r--r-- | templates/packages/files-list.html | 22 | ||||
-rw-r--r-- | templates/packages/files.html | 2 |
2 files changed, 12 insertions, 12 deletions
diff --git a/templates/packages/files-list.html b/templates/packages/files-list.html index d26a11e9..dee18ecd 100644 --- a/templates/packages/files-list.html +++ b/templates/packages/files-list.html @@ -1,12 +1,10 @@ -<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> +<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 %} diff --git a/templates/packages/files.html b/templates/packages/files.html index e8a8facf..2f951062 100644 --- a/templates/packages/files.html +++ b/templates/packages/files.html @@ -6,7 +6,9 @@ <p style="padding: 10px 20px;"> <a href="{{ pkg.get_absolute_url }}">Back to Package</a> </p> + <div class="listing" id="filelist"> {% include "packages/files-list.html" %} + </div> </div> {% endblock %} |