Skip to content

Commit

Permalink
phd student now has email change button
Browse files Browse the repository at this point in the history
  • Loading branch information
jmrq9 committed Nov 14, 2024
1 parent 0bc7cfa commit 0c21e2d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions zapisy/apps/users/templates/users/my_profile.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,8 @@ <h2>Moje dane</h2>
</table>

<a class="btn btn-light" href="{% url 'password_change' %}" role="button">Zmień hasło</a>
{% if not user.student %}
<a class="btn btn-light" href="{% url 'email-change' %}" role="button">Zmień adres email</a>
{% endif %}
{% if user.employee %}
<a class="btn btn-light" href="{% url 'email-change' %}" role="button">Zmień adres email</a>
<a class="btn btn-light" href="{% url 'employee-data-change' %}" role="button">Zmień inne dane</a>
{% endif %}
</div>
Expand Down

0 comments on commit 0c21e2d

Please sign in to comment.