Fix filelists AJAX replacement
We were double nesting the filelist div. Have the AJAX call only return the contents and not the enclosing div. Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
5c7d507eea
commit
5fb2fca70a
@ -1,4 +1,3 @@
|
||||
<div class="listing" id="filelist">
|
||||
<h4>Files:</h4>
|
||||
{% if files.count %}
|
||||
<ul style="font-size:small;list-style:none">
|
||||
@ -9,4 +8,3 @@ <h4>Files:</h4>
|
||||
{% else %}
|
||||
<p style="padding: 10px 20px;">No filelist available.</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
@ -6,7 +6,9 @@ <h2 class="title">{{ pkg.pkgname }} {{ pkg.pkgver }}-{{ pkg.pkgrel }}</h2>
|
||||
<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 %}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user