{% extends "../base.html" %} {% block title %}{{ _("Mirror: %s") % mirror.hostname }}{% end block %} {% block body %} {% if current_user and current_user.has_perm("manage_mirrors") %}
{{ _("Actions") }}
{% end %}
{% if current_user and current_user.has_perm("manage_mirrors") %} {% end %}
{{ _("Hostname") }} {{ mirror.hostname }}
{{ _("Contact") }} {% if mirror.contact %} {{ mirror.contact }} {% else %} {{ _("N/A") }} {% end %}

{{ _("Status information") }}

{% if not mirror.status == "OK" %} {% if mirror.status == "ERROR" %} {% end %} {% if mirror.last_check and mirror.last_check.last_sync_at %} {% end %} {% end %} {% if mirror.average_response_time %} {% end %}
{{ _("Status") }} {{ mirror.status }}
{{ _("HTTP Response Code") }} {{ mirror.last_check.http_status }}
{{ _("Last sync") }} {{ locale.format_date(mirror.last_check.last_sync_at) }}
{{ _("Last check") }} {% if mirror.last_check %} {{ format_date(mirror.last_check.timestamp) }} {% else %} {{ _("Never") }} {% end %}
{{ _("Average Response Time") }} {{ "%.2fms" % (mirror.average_response_time * 1000) }}

{{ _("The location of the mirror server could not be estimated.") }}

{% if log %}

{{ _("Log") }}

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