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/mirrors/mirror_details.html | 5 +++-- templates/mirrors/mirrors.html | 5 +++-- templates/mirrors/status.html | 5 +++-- 3 files changed, 9 insertions(+), 6 deletions(-) (limited to 'templates/mirrors') diff --git a/templates/mirrors/mirror_details.html b/templates/mirrors/mirror_details.html index 02aa5ae..249b36f 100644 --- a/templates/mirrors/mirror_details.html +++ b/templates/mirrors/mirror_details.html @@ -1,4 +1,5 @@ {% extends "base.html" %} +{% load static from staticfiles %} {% load mirror_status %} {% block title %}Arch Linux - {{ mirror.name }} - Mirror Details{% endblock %} @@ -105,8 +106,8 @@ {% load cdn %}{% jquery %} - - + + - + + - + +