{% extends "../base.html" %} {% block title %}{{ _("Mirrors") }}{% end block %} {% block body %} {% if current_user and current_user.has_perm("manage_mirrors") %}
{{ _("Actions") }}
{% end %}

{{ _("On this page, you will see a list of all mirror servers.") }}

{% if mirrors %} {% for mirror in mirrors %} {% end %}
{{ _("Hostname") }} / {{ _("Owner") }} {{ _("Last check") }}
{{ mirror.hostname }}

{{ mirror.owner or _("N/A") }}

[{{ mirror.country_code }}] - {% if mirror.status == "OK" %} {{ _("Up") }} {% elif mirror.status == "OUTOFSYNC" %} {{ _("Out Of Sync") }} {% elif mirror.status == "ERROR" %} {{ _("Down") }} {% else %} {{ _("Unknown") }} {% end %} {% if mirror.last_check %} {{ format_date(mirror.last_check.timestamp, relative=True) }} {% else %} {{ _("N/A") }} {% end %}
{% else %}

{{ _("There are no mirrors configured, yet.") }}

{% end %} {% if log %}

{{ _("Log") }}

{% module Log(log) %} {% end %} {% end block %}