From 8e10699d53281be53c88a3695de6aa496e084dc6 Mon Sep 17 00:00:00 2001
From: Dan McGee
Date: Fri, 23 Mar 2012 20:09:38 -0500
Subject: Use 'url from future' everywhere
The old-style url template tag disappears in Django 1.5, so we can and
should convert to the new-style tag now.
Signed-off-by: Dan McGee
---
templates/base.html | 14 +++++++-------
templates/public/download.html | 5 +++--
templates/public/index.html | 31 ++++++++++++++++---------------
templates/releng/add.html | 3 ++-
templates/releng/iso_overview.html | 3 ++-
templates/releng/result_list.html | 3 ++-
templates/releng/result_section.html | 7 ++++---
templates/releng/results.html | 5 +++--
templates/releng/thanks.html | 7 ++++---
templates/visualize/index.html | 7 ++++---
10 files changed, 47 insertions(+), 38 deletions(-)
diff --git a/templates/base.html b/templates/base.html
index 0da77cf3..fa30df1a 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -1,4 +1,4 @@
-
+{% load url from future %}
{% block title %}Arch Linux{% endblock %}
@@ -10,7 +10,7 @@
-
+
{% block head %}{% endblock %}
@@ -25,7 +25,7 @@
Wiki
Bugs
AUR
- Download
+ Download
@@ -34,20 +34,20 @@
{% if user.is_authenticated %}
diff --git a/templates/public/index.html b/templates/public/index.html
index 00edf8c4..53ccd2d2 100644
--- a/templates/public/index.html
+++ b/templates/public/index.html
@@ -1,5 +1,6 @@
{% extends "base.html" %}
{% load markup cache cdn %}
+{% load url from future %}
{% block head %}
@@ -30,13 +31,13 @@
A simple, lightweight distribution
title="Arch Wiki">wiki
if you want to learn more about Arch.
-
Learn more...
@@ -57,7 +58,7 @@
{% else %}
{% if forloop.counter0 == 5 %}
@@ -137,7 +138,7 @@ Community
Support
Tools
@@ -181,17 +182,17 @@
Development
More Resources
diff --git a/templates/releng/add.html b/templates/releng/add.html
index 8488b40c..ed02984e 100644
--- a/templates/releng/add.html
+++ b/templates/releng/add.html
@@ -1,4 +1,5 @@
{% extends "base.html" %}
+{% load url from future %}
{% block title %}Arch Linux - Test Result Entry{% endblock %}
@@ -13,7 +14,7 @@ Arch Releng Testbuild Feedback Entry
installation properly. Some options require you to check several things (such as
config files), this will be mentioned alongside the option.
There is also an overview of all feedback on the
- results page . Once we have
+ results page . Once we have
builds that are properly tested (enough successful feedback for all
important features of the ISO or a slightly earlier ISO), we can release new
official media.
diff --git a/templates/releng/iso_overview.html b/templates/releng/iso_overview.html
index 5a4445b7..76479c52 100644
--- a/templates/releng/iso_overview.html
+++ b/templates/releng/iso_overview.html
@@ -1,10 +1,11 @@
{% extends "base.html" %}
+{% load url from future %}
{% block content %}
Failures and Successes for Testing ISOs
-
Go back to testing results
+
Go back to testing results
diff --git a/templates/releng/result_list.html b/templates/releng/result_list.html
index 512e1bf3..62264217 100644
--- a/templates/releng/result_list.html
+++ b/templates/releng/result_list.html
@@ -1,4 +1,5 @@
{% extends "base.html" %}
+{% load url from future %}
{% block content %}
@@ -7,7 +8,7 @@
Results for:
{{ iso_name|default:"" }}
-
Go back to testing results
+
Go back to testing results
diff --git a/templates/releng/result_section.html b/templates/releng/result_section.html
index 08e46fb7..c82a5532 100644
--- a/templates/releng/result_section.html
+++ b/templates/releng/result_section.html
@@ -1,3 +1,4 @@
+{% load url from future %}
{% if option.is_rollback %}Rollback: {% endif %}{{ option.name|title }}
Last Success
@@ -6,20 +7,20 @@
{% for item in option.values %}
-
+
{{ item.value.name|lower }}
{% if item.success %}
-
+
{{ item.success.name }}
{% else %}Never succeeded{% endif %}
{% if item.failure %}
-
+
{{ item.failure.name }}
{% else %}Never failed{% endif %}
diff --git a/templates/releng/results.html b/templates/releng/results.html
index 4ff3c864..71af708f 100644
--- a/templates/releng/results.html
+++ b/templates/releng/results.html
@@ -1,4 +1,5 @@
{% extends "base.html" %}
+{% load url from future %}
{% block title %}Arch Linux - Release Engineering Testbuild Results{% endblock %}
@@ -9,12 +10,12 @@ Release Engineering Testbuild Results
This is an overview screen showing a test results matrix of release
engineering produced ISOs. Various options and configurations are shown
with last success and last failure results, if known. To help improve ISO
- quality, you are encouraged to give feedback
+ quality, you are encouraged to give feedback
if you have tested and used any ISOs. Both successful and failed results
are encouraged and welcome.
For a overview of which ISOs tested best, have a look at
- the overview .
+ the overview .
For more information, see the documentation
diff --git a/templates/releng/thanks.html b/templates/releng/thanks.html
index 80018b03..66d65a5c 100644
--- a/templates/releng/thanks.html
+++ b/templates/releng/thanks.html
@@ -1,4 +1,5 @@
{% extends "base.html" %}
+{% load url from future %}
{% block title %}Arch Linux - Feedback - Thanks!{% endblock %}
@@ -7,9 +8,9 @@
Thanks!
Thank you for taking the time to give us this information!
Your results have been succesfully added to our database.
- You can now go back to the results ,
- give more feedback , or
- have a look at the look at
+ You can now go back to the results ,
+ give more feedback , or
+ have a look at the look at
the ISO test overview .
{% endblock %}
diff --git a/templates/visualize/index.html b/templates/visualize/index.html
index a7727b1f..a7855eb2 100644
--- a/templates/visualize/index.html
+++ b/templates/visualize/index.html
@@ -1,4 +1,5 @@
{% extends "base.html" %}
+{% load url from future %}
{% block title %}Arch Linux - Visualizations{% endblock %}
@@ -34,11 +35,11 @@ Visualization of PGP Master and Signing Keys
{% endblock %}
--
cgit v1.2.3-54-g00ecf