{% extends "gateways/base.html" %}{% load i18n %} {% block title %}{{ account.username }} – Rivet{% endblock %} {% block content %}

‹ {% translate "Users" %}

{% blocktranslate trimmed with name=account.username %}User “{{ name }}”{% endblocktranslate %}

{% if rivet_level == "organisation" %}{% translate "Organisation" %}{% else %}{% translate "Customer" %}{% endif %}
{{ org.name }}
{% translate "Status" %}
{% if account.is_active %}{% translate "active" %}{% else %}{% translate "deactivated" %}{% endif %}
{% translate "Last login" %}
{{ account.last_login|date:"SHORT_DATETIME_FORMAT"|default:_("never") }}
{% if protected %}
{% translate "This account belongs to operations and is not managed here." %}
{% else %}

{% translate "Rights" %}

{% url 'user-rights' membership.id as action %}{% include "operator/_form.html" with submit=_("Save rights") cancel="" %} {% if is_self %}

{% translate "Your own right “Manage users” cannot be withdrawn by yourself." %}

{% endif %}
{% if not is_self %}

{% translate "Manage" %}

{% translate "Reset password …" %}

{% if account.is_active %}

{% translate "Deactivate …" %} {% translate "Login no longer possible, running sessions end." %}

{% else %}
{% csrf_token %}

{% endif %}

{% translate "Delete …" %}

{% endif %} {% endif %} {% endblock %}