{% block header_wrapper %} {% block header_account %} {% block header_account_container_content %} {% if c.userobj %} {% block header_account_logged %} {% if c.userobj.sysadmin %} {{ _('Admin') }} {% endif %} {{ h.gravatar((c.userobj.email_hash if c and c.userobj else ''), size=22) }} {{ c.userobj.display_name }} {% set new_activities = h.new_activities() %} {% set notifications_tooltip = ngettext('Dashboard (%(num)d new item)', 'Dashboard (%(num)d new items)', new_activities) %} {{ _('Dashboard') }} {{ new_activities }} {% block header_account_settings_link %} {{ _('Settings') }} {% endblock %} {% block header_account_log_out_link %} {{ _('Log out') }} {% endblock %} {% endblock %} {% else %} {% block header_account_notlogged %} {% link_for _('Log in'), named_route='user.login' %} {% if h.check_access('user_create') %} {% link_for _('Register'), named_route='user.register', class_='sub' %} {% endif %} {% endblock %} {% endif %} {% endblock %} {% endblock %} {% block header_debug %} {% if g.debug and not g.debug_supress_header %} Controller : {{ c.controller }}Action : {{ c.action }} {% endif %} {% endblock %} {% block header_logo %} {{ g.site_title }} {% endblock %} {% block header_site_navigation %} {% block header_site_navigation_tabs %} {{ h.build_nav_main( ('search', _('Datasets')), ('organizations_index', _('Organizations')), ('home.about', _('About')) ) }} {% endblock %} {% endblock %} {% block header_site_search %} {% block header_site_search_label %}{{ _('Search Datasets') }}{% endblock %} {% endblock %} {% endblock %}