{% extends "rules/base.html" %} {% load bootstrap3 %} {% block sidebar %}

{{ action }}

{% endblock %} {% block content %}
{% if edition %} {% if form %}
{% csrf_token %} {% bootstrap_form form %} {% buttons %} {% endbuttons %}
{% endif %} {% else %}

Logged in as {{user.username}}

  • First name: {{ user.first_name }}
  • Last name: {{ user.last_name }}
  • Email: {{ user.email }}
  • {% if user.sciriususer %}
  • Timezone: {{ user.sciriususer.timezone }}
  • {% endif %}
  • Active: {{ user.is_active }}
  • Role: {% with user.groups.all|first as group %}{{ group.name }}{% endwith %}
  • {% if tenants or all_tenants or no_tenant %}
  • No tenant: {{ no_tenant }}
  • All tenants: {{ all_tenants }}
  • Tenants: {% if tenants %} {% for tenant in tenants %}
    {{ tenant }}
    {% endfor %} {% endif %}
  • {% endif %}

Choose action in the left menu.

{% endif %}
{% endblock %}