diff options
Diffstat (limited to 'templates/mirrors/status.html')
-rw-r--r-- | templates/mirrors/status.html | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/mirrors/status.html b/templates/mirrors/status.html index ec2ae56..8d32d3f 100644 --- a/templates/mirrors/status.html +++ b/templates/mirrors/status.html @@ -1,9 +1,12 @@ {% extends "base.html" %} {% load static from staticfiles %} {% load mirror_status %} +{% load flags %} {% block title %}Arch Linux - Mirror Status{% if tier != None %} - Tier {{ tier }}{% endif %}{% endblock %} +{% block head %}<link rel="stylesheet" type="text/css" href="{% static "flags/fam.css" %}" media="screen, projection" />{% endblock %} + {% block content %} <div id="mirrorstatus" class="box"> <h2>Mirror Status{% if tier != None %} - Tier {{ tier }}{% endif %}</h2> @@ -88,7 +91,7 @@ {% spaceless %}<tr class="{% cycle 'odd' 'even' %}"> <td>{{ log.url__url }}</td> <td>{{ log.url__protocol__protocol }}</td> - <td class="country">{% if log.country %}<img src="{{ log.country.flag }}" alt=""/> {% endif %}{{ log.country.name }}</td> + <td class="country">{% country_flag log.country %}{{ log.country.name }}</td> <td class="wrap">{{ log.error|linebreaksbr }}</td> <td>{{ log.last_occurred|date:'Y-m-d H:i' }}</td> <td>{{ log.error_count }}</td> |