{% extends "vantage/base.html" %} {% load static vantage i18n %} {% block head %} {% endblock %} {% block content %}

{{ page_title }}

{{ page_description }}

{% if not is_superuser %}
{% csrf_token %}

{% translate "Request elevated access" %}

{% include "vantage/access/_grant_fields.html" %}

{% if self_service and can_grant %}{% translate "You may grant yourself access: it starts as soon as you submit." %}{% else %}{% translate "Someone allowed to grant access has to approve it before it starts." %}{% endif %}

{% endif %} {% if can_grant %}
{% csrf_token %}

{% translate "Grant elevated access" %}

{% include "vantage/access/_grant_fields.html" %}

{% translate "You can only grant permissions you hold yourself. Access starts now." %}

{% endif %}

{% translate "Active and pending" %}

{% include "vantage/access/_grants.html" with rows=open_grants %}

{% translate "Recent" %}

{% include "vantage/access/_grants.html" with rows=recent_grants %}
{% endblock %}