tuskar-ui/openstack_dashboard/templates/_header.html
Gabriel Hurley ab71aff23f Rework translation for panel and dashboard names. Marked more strings.
Uses ugettext_lazy to delay translation; reworks the __repr__
method to avoid using the translated form; and changes the
unicode method of the HorizonComponent class to actually return a
string coerced to unicode rather than a proxy object.

In the process, many more strings which had been missed have been
marked for translation.

Fixes bug 910297.

Change-Id: Ie8d10a928b0419313e6c54b0eff7a3a37299ca83
2012-03-22 17:00:53 -07:00

8 lines
335 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>
<a href="{% url horizon:auth_logout %}">{% trans "Sign Out" %}</a>
{% include "horizon/common/_region_selector.html" %}
</div>