summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/devel/index.html2
-rw-r--r--templates/packages/details.html2
-rw-r--r--templates/todolists/view.html3
3 files changed, 3 insertions, 4 deletions
diff --git a/templates/devel/index.html b/templates/devel/index.html
index c132bc76..12c0791e 100644
--- a/templates/devel/index.html
+++ b/templates/devel/index.html
@@ -2,7 +2,7 @@
{% block title %}Arch Linux - Developer Dashboard{% endblock %}
{% block head %}
-<script type="text/javascript" src="/media/jquery-1.4.1.min.js"></script>
+{% load cdn %}{% jquery %}
{% endblock %}
{% block content %}
diff --git a/templates/packages/details.html b/templates/packages/details.html
index 9b7a0492..496ca424 100644
--- a/templates/packages/details.html
+++ b/templates/packages/details.html
@@ -108,7 +108,7 @@
</p>
</div>
</div>
-<script type="text/javascript" src="/media/jquery-1.4.1.min.js"></script>
+{% load cdn %}{% jquery %}
<script type="text/javascript">
function ajaxifyFiles() {
$('#filelink').click(function(event) {
diff --git a/templates/todolists/view.html b/templates/todolists/view.html
index 9bfda4a5..5af6da81 100644
--- a/templates/todolists/view.html
+++ b/templates/todolists/view.html
@@ -47,10 +47,9 @@
</div>
</div>
- <script type="text/javascript" src="/media/jquery-1.4.1.min.js"></script>
+ {% load cdn %}{% jquery %}
<script type="text/javascript">
$(function() {
- // Allow flagging of Todo items using AJAX
$('a[href*=todo/flag]').click(function() {
var link = this;