{% from theme('macros/search.html') import site_search with context %} Toggle navigation {{ g.site.title }} {{ site_search(class='navbar-form') }} {% for item in current_theme.menu %} {{ item.label }} {% endfor %} {# {{ _('Metrics') }} #} {% if current_user.is_authenticated %} {{ current_user.fullname }} {{ _('Profile') }} {{ _('Change password') }} {% if current_user.organizations %} {{ _('Organizations') }} {% for org in current_user.organizations %} {{ org.acronym or org.name }} {% endfor %} {% endif %} {{ _('Settings') }} Logout {% else %} {{ _('Sign In / Register') }} {% endif %} {% if g.lang_code and request.url %} {% for code, name in config['LANGUAGES'].items() %} {{name}} {% endfor %} {% endif %}