{# Copyright The IETF Trust 2007, All Rights Reserved #}
{% extends "base.html" %}

{% block morecss %}
table.userProfile th {
  text-align: left;
}
{% endblock %}

{% block title %}Profile for {{ user }}{% endblock %}

{% block content %}
<h1>User information</h1>

<table class="userProfile">
  <tr>
    <th>User name:</th>
    <td>{{ user.username }}</td>
  </tr>
  <tr>
    <th>Person:</th>
    <td>{{ person.name|default:"?" }}</td>
  </tr>
  {% for role in roles %}
  <tr>
    <th>{% if forloop.first %}Roles:{% endif %}</th>
    <td>{{ role.name }} in {{ role.group.name }} ({{ role.group.type }})</td>
  </tr>
  {% endfor %}
</table>
{% endblock %}
