{% block header_wrapper %} {% block header_account %} {% if c.userobj %} {% block header_account_logged %} {% if c.userobj.sysadmin %} {% endif %} {{ h.gravatar((c.userobj.email_hash if c and c.userobj else ''), size=22) }} {{ c.userobj.display_name }} {% set notifications_tooltip = ngettext('Dashboard (%(num)d new item)', 'Dashboard (%(num)d new items)', c.new_activities) %} {{ c.new_activities }} {% block header_account_settings_link %} {% endblock %} {% block header_account_log_out_link %} {% endblock %} {% endblock %} {% else %} {% block header_account_notlogged %} {% link_for _('Log in'), controller='user', action='login' %} {% link_for _('Register'), controller='user', action='register', class_='sub' %} {% endblock %} {% endif %} {% endblock %} {% block header_debug %} {% if g.debug and not g.debug_supress_header %} Controller : {{ c.controller }}Action : {{ c.action }} {% endif %} {% endblock %} {# The .header-image class hides the main text and uses image replacement for the title #} {% block header_logo %} {% if g.site_logo %} {% else %} {{ g.site_title }} {% if g.site_description %}{{ g.site_description }}{% endif %} {% endif %} {% endblock %} {% block header_site_navigation %} {% block header_site_navigation_tabs %} {{ h.build_nav_main( ('search', _('Datasets')), ('organizations_index', _('Organizations')), ('group_index', _('Groups')), ('about', _('About')) ) }} {% endblock %} {% endblock %} {% block header_site_search %} {{ _('Search Datasets') }} {{ _('Search') }} {% endblock %} {% endblock %}