diff options
author | Dan McGee <dan@archlinux.org> | 2013-01-14 01:00:11 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2013-01-14 01:05:54 -0600 |
commit | 6f0ae6746baea657ee6d7c21ac0813a04f825443 (patch) | |
tree | bccc596760284ed7d04e08408ec7cf73edd50485 /templates/mirrors/status_table.html | |
parent | 5b8b6991b0b9f8174f153fe4b46376451b222cc1 (diff) |
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/mirrors/status_table.html')
-rw-r--r-- | templates/mirrors/status_table.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/mirrors/status_table.html b/templates/mirrors/status_table.html index 1961d222..c7394de6 100644 --- a/templates/mirrors/status_table.html +++ b/templates/mirrors/status_table.html @@ -17,7 +17,7 @@ {% spaceless %}<tr class="{% cycle 'odd' 'even' %}"> <td>{{ m_url.url }}</td> <td>{{ m_url.protocol }}</td> - <td class="country">{% if m_url.real_country %}<img src="{{ m_url.real_country.flag }}" alt=""/> {% endif %}{{ m_url.real_country.name }}</td> + <td class="country">{% if m_url.country %}<img src="{{ m_url.country.flag }}" alt=""/> {% endif %}{{ m_url.country.name }}</td> <td>{{ m_url.completion_pct|percentage:1 }}</td> <td>{{ m_url.delay|duration|default:'unknown' }}</td> <td>{{ m_url.duration_avg|floatformat:2 }}</td> |