summaryrefslogtreecommitdiff
path: root/templates/releng
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-07-08 23:30:48 -0500
committerDan McGee <dan@archlinux.org>2012-07-08 23:33:44 -0500
commit8383a071608329c7683f7a710030ce945bd20b4d (patch)
tree55efabe829287b71cfb52b8db3dc05e3dd0294e7 /templates/releng
parentc589f7d930ee7642524ecc33ee41bae79d4edd9b (diff)
Add a new jquery_tablesorter CDN template tag
And use it everywhere we were including the file before. This should make updating the version a heck of a lot easier. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/releng')
-rw-r--r--templates/releng/iso_overview.html3
-rw-r--r--templates/releng/result_list.html3
2 files changed, 2 insertions, 4 deletions
diff --git a/templates/releng/iso_overview.html b/templates/releng/iso_overview.html
index 447ba487..23ef0135 100644
--- a/templates/releng/iso_overview.html
+++ b/templates/releng/iso_overview.html
@@ -37,8 +37,7 @@
</tbody>
</table>
</div>
-{% load cdn %}{% jquery %}
-<script type="text/javascript" src="{% static "jquery.tablesorter.min.js" %}"></script>
+{% load cdn %}{% jquery %}{% jquery_tablesorter %}
<script type="text/javascript" src="{% static "archweb.js" %}"></script>
<script type="text/javascript">
$(document).ready(function() {
diff --git a/templates/releng/result_list.html b/templates/releng/result_list.html
index 207a8ba3..be5783b3 100644
--- a/templates/releng/result_list.html
+++ b/templates/releng/result_list.html
@@ -34,8 +34,7 @@
</tbody>
</table>
</div>
-{% load cdn %}{% jquery %}
-<script type="text/javascript" src="{% static "jquery.tablesorter.min.js" %}"></script>
+{% load cdn %}{% jquery %}{% jquery_tablesorter %}
<script type="text/javascript" src="{% static "archweb.js" %}"></script>
<script type="text/javascript">
$(document).ready(function() {