{% 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 %} {% endfor %}
{% trans 'Name' %} {% trans 'Providers' %} {% trans 'Health' %} {% trans 'Version' %}
{{ outpost.name }} {{ outpost.providers.all.select_subclasses|join:", " }} {% with health=outpost.deployment_health %} {% if health %} {{ health|naturaltime }} {% else %} Unhealthy {% endif %} {% endwith %} {% with ver=outpost.deployment_version %} {% if ver.outdated %} {% if ver.version == "" %} - {% else %} {% blocktrans with is=ver.version should=ver.should %}{{ is }}, should be {{ should }}{% endblocktrans %} {% endif %} {% else %} {{ ver.version }} {% endif %} {% endwith %} {% 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 %}