summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-04-25 06:22:23 +0200
committerDan McGee <dan@archlinux.org>2012-04-25 07:00:36 +0200
commit116751e4bab183b3cca93ab13f7f4f21c752be4e (patch)
tree4eff5a95519b85352e92516f33bf1897dc90a8a8 /templates
parent206000df736fde75a49c3178a8522d17f30a955e (diff)
downloadarchweb-116751e4bab183b3cca93ab13f7f4f21c752be4e.tar.gz
archweb-116751e4bab183b3cca93ab13f7f4f21c752be4e.tar.xz
Rename mirror country fields to country_old in prep for normalization
We're going to move to using ISO 2 character codes via django countries, so start by moving the old data out of the way first. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates')
-rw-r--r--templates/mirrors/mirror_details.html2
-rw-r--r--templates/mirrors/mirrors.html2
-rw-r--r--templates/public/download.html4
3 files changed, 4 insertions, 4 deletions
diff --git a/templates/mirrors/mirror_details.html b/templates/mirrors/mirror_details.html
index 249b36f..bb3b417 100644
--- a/templates/mirrors/mirror_details.html
+++ b/templates/mirrors/mirror_details.html
@@ -21,7 +21,7 @@
</tr>
<tr>
<th>Country:</th>
- <td>{{ mirror.country }}</td>
+ <td>{{ mirror.country_old }}</td>
</tr>
<tr>
<th>Has ISOs:</th>
diff --git a/templates/mirrors/mirrors.html b/templates/mirrors/mirrors.html
index 3aff8ea..4b59058 100644
--- a/templates/mirrors/mirrors.html
+++ b/templates/mirrors/mirrors.html
@@ -27,7 +27,7 @@
<td><a href="{{ mirror.get_absolute_url }}"
title="Mirror details for {{ mirror.name }}">{{ mirror.name }}</a></td>
<td>{{mirror.get_tier_display}}</td>
- <td>{{mirror.country}}</td>
+ <td>{{mirror.country_old}}</td>
<td>{{mirror.isos|yesno|capfirst}}</td>
<td class="wrap">{{mirror.supported_protocols|join:", "}}</td>
{% if user.is_authenticated %}
diff --git a/templates/public/download.html b/templates/public/download.html
index 67c70be..fbadb7c 100644
--- a/templates/public/download.html
+++ b/templates/public/download.html
@@ -160,9 +160,9 @@
<tbody>
<tr><td colspan="2">
{% for mirror_url in mirror_url_list %}
- {% ifchanged mirror_url.mirror.country %}
+ {% ifchanged mirror_url.mirror.country_old %}
</td></tr>
- <tr><td class="mirror-country" colspan="2"><strong>{{mirror_url.mirror.country}}</strong>
+ <tr><td class="mirror-country" colspan="2"><strong>{{mirror_url.mirror.country_old}}</strong>
{% endifchanged %}
{% ifchanged mirror_url.mirror.name %}
</td></tr>