diff options
author | Dan McGee <dan@archlinux.org> | 2012-04-25 06:22:23 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-04-25 07:00:36 +0200 |
commit | 116751e4bab183b3cca93ab13f7f4f21c752be4e (patch) | |
tree | 4eff5a95519b85352e92516f33bf1897dc90a8a8 /templates | |
parent | 206000df736fde75a49c3178a8522d17f30a955e (diff) | |
download | archweb-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.html | 2 | ||||
-rw-r--r-- | templates/mirrors/mirrors.html | 2 | ||||
-rw-r--r-- | templates/public/download.html | 4 |
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> |