diff options
author | Dan McGee <dan@archlinux.org> | 2014-11-02 09:42:52 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2014-11-02 09:42:52 -0600 |
commit | 0c72812fde64f3ed039d807b9e8b3914960b7d6b (patch) | |
tree | 64f5db63457bf74438121df98f45a67ecacd181d /main | |
parent | e609552c59d05a41b98e786047d1ff02c1e3ab10 (diff) |
Mirror view tweaks and enhancements
* Add country column to main mirror list overview page. Most mirrors are
strictly in one country, so do a little magic to show the right
country if it makes sense.
* Use new way of getting country names so we respect the overrides now
present in the django_countries package.
* Make the country selection box on the mirrorlist generation page a lot
taller by default so it is easier to use.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'main')
-rw-r--r-- | main/templatetags/flags.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/templatetags/flags.py b/main/templatetags/flags.py index 22f524ca..5b356561 100644 --- a/main/templatetags/flags.py +++ b/main/templatetags/flags.py @@ -8,6 +8,6 @@ def country_flag(country): if not country: return '' return '<span class="fam-flag fam-flag-%s" title="%s"></span> ' % ( - country.code.lower(), country.name) + unicode(country.code).lower(), unicode(country.name)) # vim: set ts=4 sw=4 et: |