summaryrefslogtreecommitdiffstats
path: root/templates/mirrors
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/mirrors
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/mirrors')
-rw-r--r--templates/mirrors/mirror_details.html2
-rw-r--r--templates/mirrors/mirrors.html2
2 files changed, 2 insertions, 2 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 %}