{% from "icons.html" import icon, mark, sep, sprite %} {% block title %}Synaptane{% endblock %} {% block head %}{% endblock %} {# Password that must be changed: no navigation until it is done. #} {% set shell = user and not bare and not user.must_change_password %} {{ sprite() }} {% if shell %} {# Sheet: the top bar and the content, laid on the background next to the navigation. #}
{# The breadcrumbs start at the organization: the sidebar logo already leads home. #} {% if false %}{% block crumbs %}{% endblock %}{% endif %} {% block topbar_end %}{% endblock %} {# Search from every page: without JS, the search page; with JS, the palette (also Ctrl/Cmd+K and "/"), limited to the current space with an "Everywhere" toggle. #} {% set here_space = space if (space is defined and space and space.address is defined) else none %} {{ icon('search', 16) }}{{ _("Search") }}Ctrl K
{% else %} {% endif %}
{% if flash %}
{{ flash.text }}{% if flash.link and flash.link.url is string and flash.link.url.startswith('/') and not flash.link.url.startswith('//') %} {{ flash.link.label }}{% endif %}
{% endif %} {% block content %}{% endblock %}
{% if shell %}
{% endif %}