diff options
Diffstat (limited to 'templates/mirrors/mirrors.html')
-rw-r--r-- | templates/mirrors/mirrors.html | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/templates/mirrors/mirrors.html b/templates/mirrors/mirrors.html index 50f50bde..241c3557 100644 --- a/templates/mirrors/mirrors.html +++ b/templates/mirrors/mirrors.html @@ -26,15 +26,15 @@ <tr class="{% cycle 'odd' 'even' %}"> <td><a href="{{ mirror.get_absolute_url }}" title="Mirror details for {{ mirror.name }}">{{ mirror.name }}</a></td> - <td>{{mirror.get_tier_display}}</td> - <td>{{mirror.country}}</td> - <td>{{mirror.isos|yesno|capfirst}}</td> - <td class="wrap">{{mirror.supported_protocols|join:", "}}</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.supported_protocols|join:", " }}</td> {% if user.is_authenticated %} - <td>{{mirror.public|yesno|capfirst}}</td> - <td>{{mirror.active|yesno|capfirst}}</td> - <td>{{mirror.admin_email}}</td> - <td class="wrap">{{mirror.notes|linebreaks}}</td> + <td>{{ mirror.public|yesno|capfirst }}</td> + <td>{{ mirror.active|yesno|capfirst }}</td> + <td>{{ mirror.admin_email }}</td> + <td class="wrap">{{ mirror.notes|linebreaks }}</td> {% endif %} </tr> {% endfor %} |