feat(home): Add profile link
This commit is contained in:
parent
0272edc266
commit
590ac25b8c
1 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
{% extends "base.html" %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block content %}{% endblock %}
|
||||
{% block content %}
|
||||
{% if user.is_authenticated %}
|
||||
<a class="button is-fullwidth is-size-4 is-primary has-text-dark" href="{% url 'dgsi:dgn-profile' %}">{% trans "Mon profil" %}</a>
|
||||
{% endif %}
|
||||
{% endblock content %}
|
||||
|
|
Loading…
Reference in a new issue