summaryrefslogtreecommitdiffstats
path: root/templates/public
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2013-01-14 08:00:11 +0100
committerDan McGee <dan@archlinux.org>2013-01-14 08:05:54 +0100
commit6f0ae6746baea657ee6d7c21ac0813a04f825443 (patch)
treebccc596760284ed7d04e08408ec7cf73edd50485 /templates/public
parent5b8b6991b0b9f8174f153fe4b46376451b222cc1 (diff)
downloadarchweb-6f0ae6746baea657ee6d7c21ac0813a04f825443.tar.gz
archweb-6f0ae6746baea657ee6d7c21ac0813a04f825443.tar.xz
Drop country column from mirror table
We now always look for this information at the URL level, not the mirror level. This simplifies quite a bit of code in and around the mirror views. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/public')
-rw-r--r--templates/public/download.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/public/download.html b/templates/public/download.html
index 3005ffb..0c96fce 100644
--- a/templates/public/download.html
+++ b/templates/public/download.html
@@ -81,7 +81,7 @@
{% cache 600 download-mirrors %}
<div id="download-mirrors">
- {% regroup mirror_urls by real_country as grouped_urls %}
+ {% regroup mirror_urls by country as grouped_urls %}
{% for country in grouped_urls %}
{% if country.grouper %}<h5><img src="{{ country.grouper.flag }}" alt=""/> {{ country.grouper.name }}</h5>
{% else %}<h5>Worldwide</h5>{% endif %}