Template source: internal_navbar.html

{% load i18n %} <nav role="navigation" class="navbar navbar-fixed-top navbar-custom" ng-controller="NavBarController" style="min-height: 65px;"> <!-- Brand and toggle get grouped for better mobile display --> <div class="navbar-header"> <button type="button" data-target="#navbarCollapse" data-toggle="collapse" class="navbar-toggle"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <div class="container mypic"> <img class="visible-lg" src="/static/img/logo_big.png"/> </div> <!-- end container --> {% comment %} <a href="#" class="navbar-left"><img src="/static/img/logo_big.png"></a> {% endcomment %} </div> <!-- Collection of nav links and other content for toggling --> <div id="navbarCollapse" class="collapse navbar-collapse"> <ul class="nav navbar-nav"> <li class="move-right-on-big-screen"><a href="/">{% trans "Back to Home Page" %}</a></li> </ul> <ul class="nav navbar-nav navbar-right"> <form class="navbar-form navbar-right" action="{% url 'set_language' %}" method="post"> {% csrf_token %} <div class="form-group"> <input name="next" type="hidden" value="{{ request.get_full_path|slice:'3:' }}"/> <select name="language" class="language-switcher form-control"> {% get_current_language as LANGUAGE_CODE %} {% get_available_languages as LANGUAGES %} {% get_language_info_list for LANGUAGES as languages %} {% for language in languages %} <option value="{{ language.code }}"{% if language.code == LANGUAGE_CODE %} selected{% endif %}> {{ language.name_local.title }} </option> {% endfor %} </select> </div> </form> <ul class="nav navbar-nav navbar-right"> <li><a href="/specialists/">{% trans "Travel Designers" %}</a></li> <li><a href="http://blog.responsibletravelperu.com" target="_blank">{% trans "Blog" %}</a></li> <li><a href="/contact">{% trans "Contact Us" %}</a></li> </ul> </ul> </div> </nav> {% comment %} <nav role="navigation" class="navbar navbar-fixed-top navbar-custom" ng-controller="NavBarController" style="min-height: 65px;"> <!-- Brand and toggle get grouped for better mobile display --> <div class="navbar-header"> <button type="button" data-target="#navbarCollapse" data-toggle="collapse" class="navbar-toggle"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <div class="container mypic"> <img class="visible-lg" src="/static/img/logo_big.png" /> </div> <!-- end container --> </div> <!-- Collection of nav links and other content for toggling --> <div id="navbarCollapse" class="collapse navbar-collapse"> <ul class="nav navbar-nav"> <li class="move-right-on-big-screen"><a href="/">{% trans "Home" %}</a></li> <li><a href="javascript:void(0)">{% trans "Viajes" %}</a></li> <li><a href="/contact">{% trans "Contacto" %}</a></li> <li><a href="/blog" >{% trans "Blog" %}</a></li> </ul> <ul class="nav navbar-nav navbar-right"> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">{% trans "Language" %} <b class="caret"></b></a> <ul class="dropdown-menu"> <li><a href="javascript:void(0)" ng-click="changeLanguage('/en/')">{% trans "English" %}</a></li> <li><a href="javascript:void(0)" ng-click="changeLanguage('/es/')">{% trans "Spanish" %}</a></li> <li><a href="javascript:void(0)" ng-click="changeLanguage('/nl/')">{% trans "Dutch" %}</a></li> <li><a href="javascript:void(0)" ng-click="changeLanguage('/fr/')">{% trans "French" %}</a></li> </ul> </li> <li><a href="#">Contact Us</a></li> </ul> </div> </nav> {% endcomment %}