diff options
author | Dan McGee <dan@archlinux.org> | 2013-01-14 08:00:11 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2013-01-14 08:05:54 +0100 |
commit | 6f0ae6746baea657ee6d7c21ac0813a04f825443 (patch) | |
tree | bccc596760284ed7d04e08408ec7cf73edd50485 /templates/mirrors/mirrors.html | |
parent | 5b8b6991b0b9f8174f153fe4b46376451b222cc1 (diff) | |
download | archweb-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/mirrors/mirrors.html')
-rw-r--r-- | templates/mirrors/mirrors.html | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/templates/mirrors/mirrors.html b/templates/mirrors/mirrors.html index c83d0d4..458b693 100644 --- a/templates/mirrors/mirrors.html +++ b/templates/mirrors/mirrors.html @@ -10,7 +10,6 @@ <tr> <th>Server</th> <th>Tier</th> - <th>Country</th> <th>ISOs</th> <th>Protocols</th> {% if user.is_authenticated %} @@ -27,7 +26,6 @@ <td><a href="{{ mirror.get_absolute_url }}" title="Mirror details for {{ mirror.name }}">{{ mirror.name }}</a></td> <td>{{ mirror.get_tier_display }}</td> - <td>{% if mirror.country %}<img src="{{ mirror.country.flag }}" alt=""/> {% endif %}{{ mirror.country.name }}</td> <td>{{ mirror.isos|yesno|capfirst }}</td> <td class="wrap">{{ mirror.protocols|join:", " }}</td> {% if user.is_authenticated %} @@ -45,7 +43,7 @@ <script type="text/javascript" src="{% static "archweb.js" %}"></script> <script type="text/javascript"> $(document).ready(function() { - $(".results").tablesorter({widgets: ['zebra'], sortList: [[1,0], [2,0]]}); + $(".results").tablesorter({widgets: ['zebra'], sortList: [[1,0], [0,0]]}); }); </script> {% endblock %} |