From 8314777c5858b8f9dd954ef906e19de1322a61d0 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Sat, 27 Feb 2010 10:08:04 -0600 Subject: Make files view AJAX if supported This will put the filelist inline on the package details page if using a capable browser. It should still fallback to a separate page if necessary (e.g. all those users using links on the site). Signed-off-by: Dan McGee --- templates/packages/files-ajax.html | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 templates/packages/files-ajax.html (limited to 'templates/packages/files-ajax.html') diff --git a/templates/packages/files-ajax.html b/templates/packages/files-ajax.html new file mode 100644 index 00000000..9b4c83ad --- /dev/null +++ b/templates/packages/files-ajax.html @@ -0,0 +1,8 @@ +
+

Files:

+
    + {% for file in files %} +
  • {{ file.path }}
  • + {% endfor %} +
+
-- cgit v1.2.3-2-g168b