{% extends "base.html" %}
{# The studio (docs/studio-v2.md §2): the file tree, the tabs (editors and viewers) and
the conversation with the studio's agent. studio.js and studio_files.js do the rest. #}
{% set q = e.name|urlencode %}
{% block title %}studio · {{ short }} · {{ e.name }}{% endblock %}
{% block crumbs %}/ {{ e.name }} / {{ short }} / studio{% endblock %}
{% block head %}
{% endblock %}
{% block main %}
{% if not st.open %}
Work on this packet live with an agent: it writes in the packet folder
({{ st.folder }}) and what it makes shows on a canvas. While the studio is
open the packet is yours: the runner leaves it alone. Closing records the session as one step.
Taken by {{ st.taken_by }}.
{% endif %} {% if st.sessions %}{{ st.sessions|length }} earlier session{{ "s" if st.sessions|length != 1 }}; the canvas is kept.
{% endif %}{{ st.session.by }}'s studio is open on this packet (since {{ st.session.opened|epoch }}). Only they can work in it or close it.