summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-02-27 21:13:44 +0100
committerDan McGee <dan@archlinux.org>2010-02-27 21:13:44 +0100
commit696c97b7f86730e36c94a05234bb9627a575281b (patch)
tree1e820e790b16c6819f10a5cdc98816f5b6372a55
parent680ddeb0894df7d0e6939d9fc6d542ee1c585817 (diff)
downloadarchweb-696c97b7f86730e36c94a05234bb9627a575281b.tar.gz
archweb-696c97b7f86730e36c94a05234bb9627a575281b.tar.xz
Convert templates to use jquery cdn tag
Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r--templates/devel/index.html2
-rw-r--r--templates/todolists/view.html3
2 files changed, 2 insertions, 3 deletions
diff --git a/templates/devel/index.html b/templates/devel/index.html
index e341a8b..1203d8a 100644
--- a/templates/devel/index.html
+++ b/templates/devel/index.html
@@ -1,7 +1,7 @@
{% extends "base.html" %}
{% 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/todolists/view.html b/templates/todolists/view.html
index b85a426..6f85c23 100644
--- a/templates/todolists/view.html
+++ b/templates/todolists/view.html
@@ -46,10 +46,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;