summaryrefslogtreecommitdiffstats
path: root/templates/devel
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2013-04-20 18:28:12 +0200
committerDan McGee <dan@archlinux.org>2013-04-20 18:28:12 +0200
commit3e085183bf39c59fdcd0b9e67b5a02653a51d30e (patch)
tree7af2d1bfd11b1cbde4fd1afeab26ad3986ad1d53 /templates/devel
parent6de0cfbd23aae69036439db817cc26740d8796cd (diff)
downloadarchweb-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/devel')
-rw-r--r--templates/devel/clock.html3
-rw-r--r--templates/devel/index.html2
-rw-r--r--templates/devel/packages.html3
-rw-r--r--templates/devel/profile.html2
4 files changed, 10 insertions, 0 deletions
diff --git a/templates/devel/clock.html b/templates/devel/clock.html
index 83fbb70..2c5bfac 100644
--- a/templates/devel/clock.html
+++ b/templates/devel/clock.html
@@ -56,6 +56,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/devel/index.html b/templates/devel/index.html
index 6d30440..c067b69 100644
--- a/templates/devel/index.html
+++ b/templates/devel/index.html
@@ -294,7 +294,9 @@
</table>
</div>{# #dash-by-developer #}
{% endcache %}
+{% 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/devel/packages.html b/templates/devel/packages.html
index a62ae1a..0e6b175 100644
--- a/templates/devel/packages.html
+++ b/templates/devel/packages.html
@@ -73,6 +73,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/devel/profile.html b/templates/devel/profile.html
index 9806552..acdc22a 100644
--- a/templates/devel/profile.html
+++ b/templates/devel/profile.html
@@ -24,7 +24,9 @@
</form>
</div>
+{% endblock %}
+{% block script_block %}
{% load cdn %}{% jquery %}
<script type="text/javascript" src="{% static "archweb.js" %}"></script>
<script type="text/javascript">