{% load i18n %}
<div id="top_page" class="navbar accounts">
	<div class="navbar-inner">
		<div class="container-fluid">
			<ul class="nav pull-right">
				{% if user.is_authenticated %}
				    {% if user.get_full_name %}
						<li><div>{% trans "Welcome" %} <em>{{ user.get_full_name }}</em></div></li>
					{% endif %}
					<li>
						<a href="{% url customer:summary %}" class="app-ico ico_profile">{% trans "Account" %}</a>
					</li>
					<li>
						<a class="app-ico ico_email" href="{% url customer:notifications-inbox %}">
							{% trans "Notifications" %}
							{% if num_unread_notifications > 0 %}
								<span class="label label-important">{{ num_unread_notifications }}</span>
							{% endif %}</a>
					</li>
					{% if user.is_staff %}
						<li><a href="{% url dashboard:index %}" class="app-ico ico_settings">{% trans "Dashboard" %}</a></li>
					{% endif %}
					<li><a href="{% url customer:logout %}" class="app-ico ico_logout">{% trans "Logout" %}</a></li>
				{% else %}
					<li><a href="{% url customer:login %}" class="app-ico ico_logout">{% trans "Login or register" %}</a></li>
				{% endif %}
			</ul>
		</div>
    </div>
</div>