{% load i18n %} {% comment %}Translations for ESI endpoint status headers and explanations{% endcomment %} {% translate "OK" as translated_header_ok %} {% translate "These routes are working as expected." as translated_header_ok_explanation %} {% translate "Degraded" as translated_header_degraded %} {% translate "These routes have a good chance of being slow or returning errors." as translated_header_degraded_explanation %} {% translate "Down" as translated_header_down %} {% translate "These routes have a good chance of not responding at all or being completely unavailable." as translated_header_down_explanation %} {% translate "Recovering" as translated_header_recovering %} {% translate "These routes are recovering from previous issues and might not (yet) work as expected or might be slow." as translated_header_recovering_explanation %} {% translate "Unknown" as translated_header_unknown %} {% translate "These routes have an unknown status." as translated_header_unknown_explanation %} {% translate "EVE time" as translated_eve_time %} {% if esi_endpoint_history %}

{% translate "Status history" as translated_header_esi_status_history %} {{ translated_header_esi_status_history|title }}
{% blocktranslate count counter=retention_threshold %}Last hour{% plural %}Last {{ counter }} hours{% endblocktranslate %}

{% include "bundles/chart-js.html" %} {% include "esistatus/bundles/esistatus-endpoint-history-js.html" %}
{% endif %} {% if esi_endpoint_status %}

{% translate "Status" %}
{{ timestamp }} {{ translated_eve_time }}

{% include 'esistatus/partials/endpoints.html' with title=translated_header_ok status="OK" explanation=translated_header_ok_explanation data=esi_endpoint_status.OK with_details=True %} {% include 'esistatus/partials/endpoints.html' with title=translated_header_degraded status="Degraded" explanation=translated_header_degraded_explanation data=esi_endpoint_status.Degraded with_details=True %} {% include 'esistatus/partials/endpoints.html' with title=translated_header_down status="Down" explanation=translated_header_down_explanation data=esi_endpoint_status.Down with_details=True %} {% include 'esistatus/partials/endpoints.html' with title=translated_header_recovering status="Recovering" explanation=translated_header_recovering_explanation data=esi_endpoint_status.Recovering with_details=True %} {% include 'esistatus/partials/endpoints.html' with title=translated_header_unknown status="Unknown" explanation=translated_header_unknown_explanation data=esi_endpoint_status.Unknown with_details=True %}
{% if compatibility_date %}

{{ esi_name }} {% blocktranslate %}compatibility date{% endblocktranslate %}: {{ compatibility_date }}

{% endif %}
{% else %}

{% translate "No ESI status data is available at this time." %}

{% translate "Please try again later." %}

{% endif %}