summaryrefslogtreecommitdiff
path: root/ishtar_common/templates/navbar.html
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2022-05-18 16:23:02 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2022-12-12 12:20:58 +0100
commite046ed00e790fbb82b43de9404d8ca3955c8de2f (patch)
tree7e3ea0f3306eea50e9f95a7c90b397c5515e97fb /ishtar_common/templates/navbar.html
parenteec69099f0c6dfdcef5acc15d57dadc7cd04813b (diff)
downloadIshtar-e046ed00e790fbb82b43de9404d8ca3955c8de2f.tar.bz2
Ishtar-e046ed00e790fbb82b43de9404d8ca3955c8de2f.zip
Migration to Django 2.2 - many fixes
- remove redondant permissions - fix missing kwargs for widget and form fields - fix default to callable for model field - quick and dirty fix for datepicker - is_authenticated() -> is_authenticated - fix registration urls - remove six usage (no more python2)
Diffstat (limited to 'ishtar_common/templates/navbar.html')
-rw-r--r--ishtar_common/templates/navbar.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/ishtar_common/templates/navbar.html b/ishtar_common/templates/navbar.html
index bc244973c..d8e368bbc 100644
--- a/ishtar_common/templates/navbar.html
+++ b/ishtar_common/templates/navbar.html
@@ -30,17 +30,17 @@
<a class="dropdown-item" href="{% url 'profile' %}">
{% trans "Profile" %}
</a>
- <a class="dropdown-item" href="{% url 'auth_password_change' %}">
+ <a class="dropdown-item" href="{% url 'password_change' %}">
{% trans "Change password" %}
</a>
- <a class="dropdown-item" href="{% url 'auth_logout' %}">
+ <a class="dropdown-item" href="{% url 'logout' %}">
{% trans "Log out" %}
</a>
</div>
</li>
{% else %}
<li class="nav-item">
- <a class="nav-link" href="{% url 'auth_login' %}">{% trans "Log in" %}</a>
+ <a class="nav-link" href="{% url 'login' %}">{% trans "Log in" %}</a>
</li>
{% endif %}
{% if LANGUAGES|length > 1 %}