2022-04-04 15:39:23 +00:00
|
|
|
{% extends "base_settings_page.html" %}
|
|
|
|
{% block content %}
|
|
|
|
|
|
|
|
<table class="table table-hover" style="max-width: 600px;" aria-describedby="Account details">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<th scope="row">User ID</th>
|
2024-02-19 17:42:19 +00:00
|
|
|
<td>{{ p.user.uid.0 }}</td>
|
2022-04-04 15:39:23 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th scope="row">First name</th>
|
2024-02-19 17:42:19 +00:00
|
|
|
<td>{{ p.user.first_name }}</td>
|
2022-04-04 15:39:23 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th scope="row">Last name</th>
|
2024-02-19 17:42:19 +00:00
|
|
|
<td>{{ p.user.last_name }}</td>
|
2022-04-04 15:39:23 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th scope="row">Username</th>
|
2024-02-19 17:42:19 +00:00
|
|
|
<td>{{ p.user.username }}</td>
|
2022-04-04 15:39:23 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th scope="row">Email</th>
|
2024-02-19 17:42:19 +00:00
|
|
|
<td>{{ p.user.email }}</td>
|
2022-04-04 15:39:23 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th scope="row">Account type</th>
|
2024-02-19 17:42:19 +00:00
|
|
|
<td>{% if p.user.admin %}Admin{% else %}Regular user{% endif %}</td>
|
2022-04-04 15:39:23 +00:00
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
|
2023-04-29 11:11:24 +00:00
|
|
|
<p>Your IP address: {{ remote_ip }}</p>
|
|
|
|
|
2022-04-04 15:39:23 +00:00
|
|
|
{% endblock content %}
|