This commit is contained in:
Ross
2022-05-24 12:30:11 +01:00
parent bbcbc02e0d
commit 41a09ea30d
29 changed files with 506 additions and 247 deletions
+6 -1
View File
@@ -2,7 +2,7 @@
{% block content %}
<div class="anatomy">
<h1>Your profile</h1>
<h1>Profile</h1>
<div>
Username: {{ user.username }}
</div>
@@ -13,6 +13,9 @@
Name: {{ user.first_name }}
{{ user.last_name }}
</div>
<div>
Grade: {{ user.userprofile.grade }}
</div>
<div>
Supervisor: {{ user.userprofile.supervisor_name }}<br/>
Supervisor Email: {{ user.userprofile.supervisor_email }}<br/>
@@ -22,5 +25,7 @@
</div>
<a href="{% url 'password_change'%}">Change password</a>
<a href="{% url 'account_update' user.username %}">Update user details</a>
<a href="{% url 'account_profile_update' user.username %}">Update user profile</a>
</div>
{% endblock %}