summaryrefslogtreecommitdiffstats
path: root/templates/packages
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/packages
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/packages')
-rw-r--r--templates/packages/differences.html3
-rw-r--r--templates/packages/groups.html3
-rw-r--r--templates/packages/packages_list.html3
-rw-r--r--templates/packages/signoffs.html3
-rw-r--r--templates/packages/stale_relations.html3
5 files changed, 5 insertions, 10 deletions
diff --git a/templates/packages/differences.html b/templates/packages/differences.html
index 01e1f85..8d6887a 100644
--- a/templates/packages/differences.html
+++ b/templates/packages/differences.html
@@ -95,8 +95,7 @@
</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/packages/groups.html b/templates/packages/groups.html
index 2786244..6611063 100644
--- a/templates/packages/groups.html
+++ b/templates/packages/groups.html
@@ -29,8 +29,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/packages/packages_list.html b/templates/packages/packages_list.html
index ee2d208..37fd2c1 100644
--- a/templates/packages/packages_list.html
+++ b/templates/packages/packages_list.html
@@ -40,8 +40,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/packages/signoffs.html b/templates/packages/signoffs.html
index b20483c..fc6adca 100644
--- a/templates/packages/signoffs.html
+++ b/templates/packages/signoffs.html
@@ -81,8 +81,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/packages/stale_relations.html b/templates/packages/stale_relations.html
index df469e7..cb7799d 100644
--- a/templates/packages/stale_relations.html
+++ b/templates/packages/stale_relations.html
@@ -107,8 +107,7 @@
</form>
</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() {