diff options
author | Dan McGee <dan@archlinux.org> | 2013-04-20 18:28:12 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2013-04-20 18:28:12 +0200 |
commit | 3e085183bf39c59fdcd0b9e67b5a02653a51d30e (patch) | |
tree | 7af2d1bfd11b1cbde4fd1afeab26ad3986ad1d53 /templates/todolists | |
parent | 6de0cfbd23aae69036439db817cc26740d8796cd (diff) | |
download | archweb-3e085183bf39c59fdcd0b9e67b5a02653a51d30e.tar.gz archweb-3e085183bf39c59fdcd0b9e67b5a02653a51d30e.tar.xz |
Move all script blocks into {% script_block %} section
I added this a while back, but didn't roll it out to all templates.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/todolists')
-rw-r--r-- | templates/todolists/list.html | 3 | ||||
-rw-r--r-- | templates/todolists/view.html | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/templates/todolists/list.html b/templates/todolists/list.html index 5f7e333..56f9874 100644 --- a/templates/todolists/list.html +++ b/templates/todolists/list.html @@ -46,6 +46,9 @@ </tbody> </table> </div> +{% endblock %} + +{% block script_block %} {% load cdn %}{% jquery %}{% jquery_tablesorter %} <script type="text/javascript" src="{% static "archweb.js" %}"></script> <script type="text/javascript"> diff --git a/templates/todolists/view.html b/templates/todolists/view.html index a96297c..fc4b29e 100644 --- a/templates/todolists/view.html +++ b/templates/todolists/view.html @@ -100,6 +100,9 @@ </tbody> </table> </div> +{% endblock %} + +{% block script_block %} {% load cdn %}{% jquery %}{% jquery_tablesorter %} <script type="text/javascript" src="{% static "archweb.js" %}"></script> <script type="text/javascript"> |