summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorEvangelos Foutras <foutrelis@gmail.com>2011-04-30 15:15:38 +0300
committerDan McGee <dan@archlinux.org>2011-05-02 10:50:10 -0500
commit8de1bd0639a8b6117bc35dfe0ad1e6a1ac34f715 (patch)
treec882ed5fc323a394b396ad69a3df8f5c680452e1 /templates
parenta5991a31b92e04059589bf897a593535984384e6 (diff)
downloadarchweb-8de1bd0639a8b6117bc35dfe0ad1e6a1ac34f715.tar.gz
archweb-8de1bd0639a8b6117bc35dfe0ad1e6a1ac34f715.zip
Add filesizeformat filter to sizes in reports/big
We also add a new 'filesize' tablesorter parser that handles all the suffixes found in django's filesizeformat filter. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates')
-rw-r--r--templates/devel/packages.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/devel/packages.html b/templates/devel/packages.html
index 32cdf217..e0988c03 100644
--- a/templates/devel/packages.html
+++ b/templates/devel/packages.html
@@ -49,6 +49,7 @@
</div>
{% load cdn %}{% jquery %}
<script type="text/javascript" src="/media/jquery.tablesorter.min.js"></script>
+<script type="text/javascript" src="/media/archweb.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$(".results").tablesorter({widgets: ['zebra']});