{#- The frame of every page inside a project: it fills the window, up to the width the styles set, with the files pane, the page, in the `project` block, and the chats pane. A route gives it `project`, `access`, `files`, `chats` and `marks`; a page that shows a chat gives that chat as `chat`, and a page that shows a file gives that file as `file`: the header then names it, so such a page has no title of its own. `access` is the user's level in the project: the pages offer what changes the project only at `full`. -#} {% extends "base.html" %} {% block breadcrumb %} / {{ project.name }} {% if chat is defined %} / {% include "chat/crumb.html" %} {% elif file is defined %} / {{ file.path }} {% endif %} {% endblock %} {% block content %} {% set current_chat_id = chat.id if chat is defined else none %} {% set current_path = file.path if file is defined else "" %} {# Before the shell: the script sets the widths of the panes before the shell is drawn. #}