{# The packet page's Snapshot: what the packet is and where it is at (docs/packet-page.md §2.2). #} {% import "_outline.html" as olm %} {% macro panel(e, card, tl, on, ol=None) -%} {% set base = "/p/" ~ (e.name|urlencode) %}
Directory
{{ e.path }}
Tasks
{{ card.tasks }}{% for st, k in card.counts %} · {{ k }} {{ st }}{% endfor %}
Documents
work/ · read and mark up
Spend
{{ card.spend_total|money or "$0" }} total, {{ card.spend_today|money or "$0" }} today
Board
{{ on }}
{% if ol %}
Plan
{{ olm.line(ol) }}
{% endif %}
Last step
{% if card.last_step != "never" %}{{ card.last_step }}{% else %}never{% endif %}
{% if tl %} {% for r in tl.rows %} {{ r.label }} {% for b in r.bars %} {{ b.title }} {% endfor %} {% endfor %} {% for t in tl.ticks %} {{ t.label }} {% endfor %}
{{ tl.start|when }} to {{ tl.end|when }}. Gaps are sleeps or waits for wpk tick; click a bar for its step.
{% else %}

No steps yet.

{% endif %}
{%- endmacro %}