{% import "plainui/components/avatar.html" as avatar %} {% import "plainui/components/header_buttons.html" as hbtns with context %} {% set view_name = request.resolver_match.view_name %} {% set scope = scope|default('plattform') %} {{ logoMacro.logo(static('plainui/img/02a_Logo_web_200px_still.png'), url('plainui:index'), conf.name + " logo", conf.name + " logo") }} {{ _("world") }} {{ _("platform") }} {{ _("info") }} {{ csrf_input }} {{ hbtns.search() }} {{ _("plan") }} {{ _("chat") }} {% set num_unread = num_of_unread_messages(request) -%} {% if num_unread %} {{ num_unread }} {% endif %} {{ _("board") }} {% set num_of_pending_badges = num_of_pending_badges(request) -%} {{ _('profile') }} {% if num_of_pending_badges %} {{ num_of_pending_badges }} {% endif %} {{ hbtns.themeswitcher() }} {% if fav_info %} {{ hbtns.fav(fav_info['id'], fav_info['type'], fav_info['is']) }} {% endif %} {% if schedule_info %} {{ hbtns.schedule(schedule_info['id'], schedule_info['is']) }} {% endif %} {% if share_url %} {{ hbtns.share(report_info.url) }} {% endif %} {% if report_info %} {{ hbtns.report(report_info.url, kind=report_info.get('kind', 'url'), color="transparent") }} {% endif %} {{ hbtns.help() }} {{ hbtns.globe() }} {{ hbtns.logout() }}