forked from DGNum/gestioCOF
rename url 'cof-logout' -> 'gestion:logout'
This commit is contained in:
parent
d2a0240900
commit
139a2e8293
2 changed files with 3 additions and 3 deletions
|
@ -68,7 +68,7 @@ class GenericLoginView(View):
|
||||||
here_qd['next'] = self.request.GET['next']
|
here_qd['next'] = self.request.GET['next']
|
||||||
here_url += '?{}'.format(here_qd.urlencode())
|
here_url += '?{}'.format(here_qd.urlencode())
|
||||||
|
|
||||||
logout_url = reverse('cof-logout')
|
logout_url = reverse('gestion:logout')
|
||||||
logout_qd = QueryDict(mutable=True)
|
logout_qd = QueryDict(mutable=True)
|
||||||
logout_qd['next'] = here_url
|
logout_qd['next'] = here_url
|
||||||
logout_url += '?{}'.format(logout_qd.urlencode(safe='/'))
|
logout_url += '?{}'.format(logout_qd.urlencode(safe='/'))
|
||||||
|
|
|
@ -99,7 +99,7 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<li class="divider"></li>
|
<li class="divider"></li>
|
||||||
<li>
|
<li>
|
||||||
<a href="{% url "cof-logout" %}?next={% slugurl "k-fet" %}">
|
<a href="{% url "gestion:logout" %}?next={% slugurl "k-fet" %}">
|
||||||
<span class="glyphicon glyphicon-log-out"></span><span>Déconnexion</span>
|
<span class="glyphicon glyphicon-log-out"></span><span>Déconnexion</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
@ -108,7 +108,7 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if user.is_authenticated and not perms.kfet.is_team %}
|
{% if user.is_authenticated and not perms.kfet.is_team %}
|
||||||
<li>
|
<li>
|
||||||
<a href="{% url "cof-logout" %}?next={% slugurl "k-fet" %}" title="Déconnexion">
|
<a href="{% url "gestion:logout" %}?next={% slugurl "k-fet" %}" title="Déconnexion">
|
||||||
<span class="glyphicon glyphicon-log-out"></span>
|
<span class="glyphicon glyphicon-log-out"></span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
Loading…
Reference in a new issue