summaryrefslogtreecommitdiffstats
path: root/templates/devel
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-07-09 06:30:48 +0200
committerDan McGee <dan@archlinux.org>2012-07-09 06:33:44 +0200
commit8383a071608329c7683f7a710030ce945bd20b4d (patch)
tree55efabe829287b71cfb52b8db3dc05e3dd0294e7 /templates/devel
parentc589f7d930ee7642524ecc33ee41bae79d4edd9b (diff)
downloadarchweb-8383a071608329c7683f7a710030ce945bd20b4d.tar.gz
archweb-8383a071608329c7683f7a710030ce945bd20b4d.tar.xz
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/devel')
-rw-r--r--templates/devel/clock.html3
-rw-r--r--templates/devel/index.html3
-rw-r--r--templates/devel/packages.html3
3 files changed, 3 insertions, 6 deletions
diff --git a/templates/devel/clock.html b/templates/devel/clock.html
index 6a3f0a6..9ebea06 100644
--- a/templates/devel/clock.html
+++ b/templates/devel/clock.html
@@ -52,8 +52,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/devel/index.html b/templates/devel/index.html
index d1bd4d2..ad8ee0e 100644
--- a/templates/devel/index.html
+++ b/templates/devel/index.html
@@ -291,8 +291,7 @@
</div>{# #dash-by-developer #}
{% endcache %}
-{% 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/devel/packages.html b/templates/devel/packages.html
index 6b9df21..ac36812 100644
--- a/templates/devel/packages.html
+++ b/templates/devel/packages.html
@@ -52,8 +52,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() {