summaryrefslogtreecommitdiff
path: root/packages/views
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-12-03 13:29:06 -0600
committerDan McGee <dan@archlinux.org>2011-12-03 13:29:06 -0600
commitae00d10ff48a604e9cc9dd327046661e52ff2749 (patch)
tree05868392624178a28a179ff501b458d1e7e0eb7c /packages/views
parent546012c8e0d9e757e4670dd14e41acb83eb4e997 (diff)
Rename files list template for consistency
We use underscores in all other templates. Also remove some of the generated whitespace in the template which is noticeable in very large package lists. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'packages/views')
-rw-r--r--packages/views/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/views/__init__.py b/packages/views/__init__.py
index b420ce60..13ad0c71 100644
--- a/packages/views/__init__.py
+++ b/packages/views/__init__.py
@@ -179,7 +179,7 @@ def files(request, name, repo, arch):
}
template = 'packages/files.html'
if request.is_ajax():
- template = 'packages/files-list.html'
+ template = 'packages/files_list.html'
return direct_to_template(request, template, context)
def details_json(request, name, repo, arch):