{#- Pause / Resume a whole project, wherever its work shows (docs/pause-v1.md). Import "with context" (csrf). Only Stop now asks first (its own data-confirm). ``c``: a card; ``back``: the page to come back to. -#} {% macro button(c, back, cls="mini", stop=False) -%} {% if c.pausable or c.pausing or c.resumable %}
{% if c.pausable %}{% endif %} {% if stop and c.running %}{% endif %} {% if c.pausing %} {% elif c.resumable %}{% endif %}
{% endif %} {%- endmacro %} {#- ``short``: who has it goes in the hover, not beside the badge (a board card is narrow). -#} {% macro badge(c, short=False) -%} {% if c.studio %}IN STUDIO{% if not short %} ({{ c.studio|join(", ") }}){% endif %}{% endif %} {% if c.pausing %}PAUSING{% endif %} {%- endmacro %} {#- Done / Reopen for a project's card (docs/collaboration.md §4.1, W9). -#} {% macro mark(c, back, cls="mini") -%} {% if c.root and not c.running %}
{% if c.lifecycle == "open" %} {% else %}{% endif %}
{% endif %} {%- endmacro %} {#- The scribe's draft as a proposal (docs/collaboration-plan.md G3). -#} {% macro draft(c, back) -%} {% if c.draft and c.root and not c.running %}
draft checkpoint · Edit
{% endif %} {%- endmacro %}