diff options
author | Dan McGee <dan@archlinux.org> | 2012-07-09 07:40:17 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-07-29 00:52:52 +0200 |
commit | 2a221fa72fd8491ca1a0633ba62b6a846267b4fc (patch) | |
tree | 5768f0af4e3ca1c55df498ff552c03663862e261 /main | |
parent | 280c53eec5661252b5692fa374292c4d421e3bd8 (diff) | |
download | archweb-2a221fa72fd8491ca1a0633ba62b6a846267b4fc.tar.gz archweb-2a221fa72fd8491ca1a0633ba62b6a846267b4fc.tar.xz |
Upgrade to jQuery 1.7.2 and a maintained tablesorter
This touches a wide variety of files as well as makes updates to some of
our own code to be fully compatible. We also use some of the newer
locale/accent sorting features of tablesorter to make tables with
developer names sort in a more sane fashion.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'main')
-rw-r--r-- | main/templatetags/cdn.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/main/templatetags/cdn.py b/main/templatetags/cdn.py index 5429982..fb78039 100644 --- a/main/templatetags/cdn.py +++ b/main/templatetags/cdn.py @@ -7,7 +7,7 @@ register = template.Library() @register.simple_tag def jquery(): - version = '1.4.4' + version = '1.7.2' oncdn = getattr(settings, 'CDN_ENABLED', True) if oncdn: link = 'https://ajax.googleapis.com/ajax/libs/jquery/' \ @@ -20,7 +20,8 @@ def jquery(): @register.simple_tag def jquery_tablesorter(): - filename = 'jquery.tablesorter.min.js' + version = '2.3.11' + filename = 'jquery.tablesorter-%s.min.js' % version link = staticfiles_storage.url(filename) return '<script type="text/javascript" src="%s"></script>' % link |