diff options
author | Dan McGee <dan@archlinux.org> | 2010-02-27 21:13:44 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-02-27 21:13:44 +0100 |
commit | 696c97b7f86730e36c94a05234bb9627a575281b (patch) | |
tree | 1e820e790b16c6819f10a5cdc98816f5b6372a55 /templates | |
parent | 680ddeb0894df7d0e6939d9fc6d542ee1c585817 (diff) | |
download | archweb-696c97b7f86730e36c94a05234bb9627a575281b.tar.gz archweb-696c97b7f86730e36c94a05234bb9627a575281b.tar.xz |
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.html | 2 | ||||
-rw-r--r-- | templates/todolists/view.html | 3 |
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; |