Merge "Forwards LOGOUT_URL to templates."
This commit is contained in:
commit
afba1d7b85
@ -87,6 +87,7 @@ def openstack(request):
|
||||
context['WEBROOT'] = settings.WEBROOT
|
||||
|
||||
context['USER_MENU_LINKS'] = settings.USER_MENU_LINKS
|
||||
context['LOGOUT_URL'] = settings.LOGOUT_URL
|
||||
|
||||
# Adding profiler support flag
|
||||
profiler_settings = settings.OPENSTACK_PROFILER
|
||||
|
@ -59,7 +59,7 @@
|
||||
{% endif %}
|
||||
<li class="divider"></li>
|
||||
<li>
|
||||
<a href="{% url 'logout' %}" target="_self">
|
||||
<a href="{{ LOGOUT_URL }}" target="_self">
|
||||
<span class="fa fa-sign-out"></span>
|
||||
{% trans "Sign Out" %}
|
||||
</a>
|
||||
|
Loading…
Reference in New Issue
Block a user