diff options
author | Dan McGee <dan@archlinux.org> | 2010-03-03 07:02:19 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-03-03 07:02:19 -0600 |
commit | cefb969d3c7d0d0380f63fcd50906be3b2825b4d (patch) | |
tree | 648c6d1650151d198e453220bd5c8b8171e22cf9 /templates | |
parent | f7e15ed728d7c5e3470f6127cc21e64baefcbfb2 (diff) | |
parent | 37e393ab6c8daf945c42fa0e4240a2343c74a3d0 (diff) |
Merge branch 'cdn-jquery'release_2010-03-04
Diffstat (limited to 'templates')
-rw-r--r-- | templates/devel/index.html | 2 | ||||
-rw-r--r-- | templates/packages/details.html | 2 | ||||
-rw-r--r-- | templates/todolists/view.html | 3 |
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; |