tuskar-ui/horizon/templates/_header.html
Gabriel Hurley 972e71ec85 Adds an option for linking to external help docs.
Change-Id: Iea9ab299078f8552f53ca747f48e30a0b049bd06
2012-08-02 16:42:36 -07:00

11 lines
450 B
HTML

{% load i18n %}
<div id="user_info" class="pull-right">
<span>{% trans "Logged in as" %}: {{ request.user.username }}</span>
<a href="{% url horizon:settings:user:index %}">{% trans "Settings" %}</a>
{% if HORIZON_CONFIG.help_url %}
<a href="{{ HORIZON_CONFIG.help_url }}" target="_new">{% trans "Help" %}</a>
{% endif %}
<a href="{% url logout %}">{% trans "Sign Out" %}</a>
{% include "horizon/common/_region_selector.html" %}
</div>