Settings for server; added version, and refined user page
svn: r18308
This commit is contained in:
@@ -61,7 +61,7 @@
|
||||
<div id="footer">
|
||||
{% block footer %}
|
||||
<p id="createdate">
|
||||
Gramps Connect, tools for genealogy collaborations
|
||||
Gramps Connect, version {{gramps_version}}.
|
||||
</p>
|
||||
<p id="copyright">© 2009-2011 <a href="http://www.gramps-project.org/">www.gramps-project.org</a>
|
||||
</p>
|
||||
|
||||
@@ -8,12 +8,30 @@
|
||||
<p id="description">Details for <b>{{user.first_name}} {{user.last_name}}</b> ({{user.username}}):</p>
|
||||
|
||||
<p id="description">
|
||||
<ul>
|
||||
<li>User name: <b>{{user.username}}</b></li>
|
||||
<li>Email: <b><a href="mailto:{{user.email}}">{{user.email}}></a></b></li>
|
||||
<li>Superuser?: <b>{{user.is_superuser}}</b></li>
|
||||
<li>Last login: <b>{{user.last_login}}</b></li>
|
||||
</ul>
|
||||
<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>
|
||||
|
||||
</p>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user