{% load i18n %} {% if rows %}
{% for row in rows %} {% endfor %}
{% translate "Who" %} {% translate "What" %} {% translate "Status" %} {% translate "Until" %} {% translate "Reason" %} {% translate "Granted by" %} {% translate "Actions" %}
{{ row.grant.user_repr }} {{ row.what }} {{ row.status_label }} {% if row.grant.expires_at %}{{ row.grant.expires_at|date:"Y-m-d H:i" }}{% else %}{% blocktranslate count counter=row.grant.minutes %}{{ counter }} minute{% plural %}{{ counter }} minutes{% endblocktranslate %}{% endif %} {{ row.grant.reason }} {{ row.grant.granted_by_repr|default:"—" }} {% if row.may_approve %}
{% csrf_token %}
{% endif %} {% if row.may_revoke %}
{% csrf_token %}
{% endif %}
{% else %}

{% translate "None." %}

{% endif %}