Template source: core/nav_bar.html

{% load i18n booktype_tags %}
<!-- Navbar -->
<div class="navigation-bar">
  <div class="user">
    <div class="btn-group">
        {% if request.user.is_authenticated %}
          <button class="btn btn-inverse dropdown-toggle" data-toggle="dropdown">{%  username request.user %}<span class="caret"></span></button>
	        <ul class="dropdown-menu pull-right">
	          <li><a href="{% url "accounts:view_profile" request.user.username %}" target="_blank"><i class="icon-user"></i>{% trans "My Dashboard" %}</a></li>
	          {% if request.user.is_superuser %}
                {% url 'control_center:frontpage' as cc_frontpage_url %}
	             <li><a href="{% url "control_center:frontpage" %}" {% if cc_frontpage_url not in request.path %} target="_blank" {% endif %}><i class="icon-gears"></i>{% trans "Control Center" %}</a></li>
	          {% endif %}
                 <li><a href="http://sourcefabric.booktype.pro/booktype-20-for-authors-and-publishers/" target="_blank"><i class="icon-book"></i>{% trans "User Manual" %}</a></li>
	          <li class="divider"></li>
	          <li><a href="{% url "accounts:signout" %}"><i class="icon-signout"></i>{% trans "Log out" %}</a></li>
	        </ul>
	    {% else %}
          <button class="btn btn-inverse dropdown-toggle" data-toggle="dropdown" data-href="{% url "accounts:signin" %}?redirect={{ request.path }}">{%  trans "Log in" %}<span class="caret"></span></button>
        {% endif %}
    </div>

    <div class="btn-group">
        <button class="btn btn-inverse dropdown-toggle" data-toggle="dropdown">
          {% get_language_info for LANGUAGE_CODE as lang %}
          {% trans lang.name %}
          <span class="caret"></span>
        </button>
        <ul class="dropdown-menu pull-right">
          {% for code, lang in LANGUAGES %}
          <li>
          <form class='hidden' name="setLang{{ code }}" action="{% url "set_language" %}" method="POST">{% csrf_token %}
                <input name="next" type="hidden" value="/" />
                <input type="hidden" name="language" value="{{ code }}" />
            </form>
          <a href="#" target="_blank" onclick="document.forms['setLang{{ code }}'].submit();return false;">
              {{ lang }}
              </a>

          </li>
          {% endfor %}
          <li role="separator" class="divider"></li>
          <li><a href="https://www.transifex.com/sourcefabric/booktype/" target="_blank">{% trans "Help us to translate Booktype" %}</a></li>
        </ul>
    </div>

  </div>
  <div class="collapse-navigation"><a href="#"></a></div>
  {% booktype_site_name %}
</div>
<!-- end Navbar -->