mirror of
https://github.com/ae-utbm/sith.git
synced 2025-04-01 17:30:26 +00:00
27 lines
637 B
HTML
27 lines
637 B
HTML
{% extends "core/base.html" %}
|
|
|
|
{% block title %}
|
|
{{ profile.get_display_name }}'s profile
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<h3>User Profile</h3>
|
|
<p><a href="{% url 'core:user_list' %}">Back to list</a></p>
|
|
|
|
{% if user.is_superuser or user.id == profile.id %}
|
|
<ul>
|
|
<li><a href="{% url 'core:user_edit' profile.id %}">Edit</a></li>
|
|
<li><a href="{% url 'core:user_groups' profile.id %}">Groups</a></li>
|
|
</ul>
|
|
{% endif %}
|
|
|
|
<p>
|
|
You're seeing the profile of <strong>{{ profile.get_full_name }}</strong><br/>
|
|
<strong>{{ profile.nick_name }}</strong><br/>
|
|
<em>{{ profile.date_of_birth|date:"d/m/Y" }}</em>
|
|
|
|
</p>
|
|
{% endblock %}
|
|
|
|
|