diff options
author | Dan McGee <dan@archlinux.org> | 2012-04-25 01:32:57 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-04-25 01:51:58 -0500 |
commit | 640e0f58645a7fd07f3c6185d9583b4d218e2468 (patch) | |
tree | 46323cbe3549b7d60a7b88eacb702522982b2a27 /templates/mirrors/mirrorlist_status.txt | |
parent | 20675141c340ea3d2d6d8305f8ba0950d3bf974c (diff) |
Finish django countries implementation
* Add a migration to drop the old countries field.
* Update all templates/views/utility methods to point at the new country
field and dereference it as necessary.
* Add the flags images to a few views where it makes sense.
* Cleanup the download page layout quite a bit.
* Bump the mirror status JSON version to 3; add country_code attribute.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/mirrors/mirrorlist_status.txt')
-rw-r--r-- | templates/mirrors/mirrorlist_status.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/mirrors/mirrorlist_status.txt b/templates/mirrors/mirrorlist_status.txt index e3504395..523794b2 100644 --- a/templates/mirrors/mirrorlist_status.txt +++ b/templates/mirrors/mirrorlist_status.txt @@ -7,7 +7,8 @@ content right, and then go back later to fix it all up. ## Arch Linux repository mirrorlist ## Sorted by mirror score from mirror status page ## Generated on {% now "Y-m-d" %} +## {% for mirror_url in mirror_urls %} -## Score: {{ mirror_url.score|floatformat:1|default:'unknown' }}, {{ mirror_url.real_country }} +## Score: {{ mirror_url.score|floatformat:1|default:'unknown' }}, {{ mirror_url.real_country.name|default:'Worldwide' }} #Server = {{ mirror_url.url}}$repo/os/$arch{% endfor %} {% endautoescape %} |