From 3e2e4d4ef8910351910d633d17f8b4e9c0ea4c74 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Sat, 24 Mar 2012 12:37:19 -0500 Subject: Convert STATIC_URL usage to {% static %} template tag This is a lot more flexible and will allow more than just simple prefixing of the static file resources. Signed-off-by: Dan McGee --- templates/devel/clock.html | 5 +++-- templates/devel/index.html | 5 +++-- templates/devel/packages.html | 5 +++-- templates/mirrors/mirror_details.html | 5 +++-- templates/mirrors/mirrors.html | 5 +++-- templates/mirrors/status.html | 5 +++-- templates/news/add.html | 3 ++- templates/packages/details.html | 3 ++- templates/packages/differences.html | 6 ++++-- templates/packages/groups.html | 6 ++++-- templates/packages/packages_list.html | 5 +++-- templates/packages/signoffs.html | 5 +++-- templates/packages/stale_relations.html | 6 ++++-- templates/releng/iso_overview.html | 5 +++-- templates/releng/result_list.html | 5 +++-- templates/todolists/list.html | 5 +++-- templates/todolists/public_list.html | 5 +++-- templates/todolists/view.html | 5 +++-- templates/visualize/index.html | 7 ++++--- 19 files changed, 59 insertions(+), 37 deletions(-) diff --git a/templates/devel/clock.html b/templates/devel/clock.html index 3b00075f..5bb092f6 100644 --- a/templates/devel/clock.html +++ b/templates/devel/clock.html @@ -1,4 +1,5 @@ {% extends "base.html" %} +{% load static from staticfiles %} {% load tz %} {% block title %}Arch Linux - Developer World Clocks{% endblock %} @@ -40,8 +41,8 @@ {% load cdn %}{% jquery %} - - + + - + + - + + - + + - + + - + + + diff --git a/templates/packages/details.html b/templates/packages/details.html index bbbef2eb..a066969c 100644 --- a/templates/packages/details.html +++ b/templates/packages/details.html @@ -1,4 +1,5 @@ {% extends "base.html" %} +{% load static from staticfiles %} {% load package_extras %} {% load pgp %} @@ -205,7 +206,7 @@ {% load cdn %}{% jquery %} - + diff --git a/templates/packages/differences.html b/templates/packages/differences.html index e2deedcd..01e1f857 100644 --- a/templates/packages/differences.html +++ b/templates/packages/differences.html @@ -1,4 +1,6 @@ {% extends "base.html" %} +{% load static from staticfiles %} + {% block title %}Arch Linux - Package Differences Reports{% endblock %} {% block navbarclass %}anb-packages{% endblock %} @@ -94,8 +96,8 @@ {% load cdn %}{% jquery %} - - + + - + + - + + - + + - + + - + + - + + - + + - + + - + + - - + + +