summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-02-27 14:13:44 -0600
committerDan McGee <dan@archlinux.org>2010-02-27 14:13:44 -0600
commit696c97b7f86730e36c94a05234bb9627a575281b (patch)
tree1e820e790b16c6819f10a5cdc98816f5b6372a55 /templates
parent680ddeb0894df7d0e6939d9fc6d542ee1c585817 (diff)
Convert templates to use jquery cdn tag
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates')
-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 e341a8bb..1203d8a6 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 b85a4266..6f85c231 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;