5763a57985
svn: r19735
48 lines
953 B
HTML
48 lines
953 B
HTML
{% extends "gramps-base.html" %}
|
|
{% load my_tags %}
|
|
|
|
{% block title %}{{sitename}} - user page {% endblock %}
|
|
{% block heading %}{{sitename}} - user page {% endblock %}
|
|
|
|
{% block content %}
|
|
|
|
<p id="description">Details for <b>{{user.first_name}} {{user.last_name}}</b> ({{user.username}}):</p>
|
|
|
|
<p id="description">
|
|
<table>
|
|
<tr>
|
|
<td width="30%">User name: </td><td><em>{{user.username}}</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td>Email: </td><td><a href="mailto:{{user.email}}"><em>{{user.email}}</a></em></td>
|
|
</tr>
|
|
<tr>
|
|
<td>Type: </td>
|
|
<td>
|
|
|
|
{% if user.is_superuser %}
|
|
<em>Administrator</em>
|
|
{% else %}
|
|
<em>User</em>
|
|
{% endif %}
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Last login: </td><td><em>{{user.last_login}}</em></td>
|
|
</tr>
|
|
</table>
|
|
|
|
{% if user.is_superuser %}
|
|
{% make_button "Edit Profile" "/admin/grampsdb/profile/%s" user.id %}
|
|
{% make_button "Edit User" "/admin/auth/user/%s" user.id %}
|
|
{% else %}
|
|
<em>User</em>
|
|
{% endif %}
|
|
|
|
|
|
</p>
|
|
|
|
{% endblock %}
|
|
|