{% extends "administration/base.html" %} {% load i18n %} {% load humanize %} {% load passbook_utils %} {% load admin_reflection %} {% block content %}

{% trans 'Outposts' %}

{% trans "Outposts are deployments of passbook components to support different environments and protocols, like reverse proxies." %}

{% if object_list %}
{% include 'partials/toolbar_search.html' %} {% include 'partials/pagination.html' %}
{% for outpost in object_list %} {% with states=outpost.state %} {% if states|length > 1 %} {% else %} {% endif %} {% endwith %} {% endfor %}
{% trans 'Name' %} {% trans 'Providers' %} {% trans 'Health' %} {% trans 'Version' %}
{{ outpost.name }} {{ outpost.providers.all.select_subclasses|join:", " }} {% for state in states %}
{% if state.last_seen %} {{ state.last_seen|naturaltime }} {% else %} {% trans 'Unhealthy' %} {% endif %}
{% endfor %}
{% for state in states %}
{% if not state.version %} {% elif state.version_outdated %} {% blocktrans with is=state.version should=state.version_should %}{{ is }}, should be {{ should }}{% endblocktrans %} {% else %} {{ state.version }} {% endif %}
{% endfor %}
{% trans 'Edit' %} {% trans 'Delete' %} {% get_htmls outpost as htmls %} {% for html in htmls %} {{ html|safe }} {% endfor %}
{% include 'partials/pagination.html' %}
{% else %}
{% include 'partials/toolbar_search.html' %}

{% trans 'No Outposts.' %}

{% if request.GET.search != "" %} {% trans "Your search query doesn't match any outposts." %} {% else %} {% trans 'Currently no outposts exist. Click the button below to create one.' %} {% endif %}
{% trans 'Create' %}
{% endif %}
{% endblock %}