{% from 'macros.html' import note_rows, experience_card with context %} {% from 'components/page-heading.html' import page_heading %} {% from 'components/section-heading.html' import section_heading %} {{ page_heading(data.title, data.summary) }}
{{ section_heading(t.usage, link('usage'), t.view_usage) }} {% if errors.get('usage') %}{{ read_error(errors.usage, t.usage) }}{% elif stats %} {% include 'compact_usage.html' %} {% endif %}
{{ section_heading(t.remember_heading, link('notes'), t.view_notes) }} {% if errors.get('notes') %}{{ read_error(errors.notes, t.notes) }}{% elif data.notes %}{{ note_rows(data.notes[:3]) }}{% else %}

{{ t.notes_empty }}

{{ t.notes_empty_body }}

{% endif %}
{{ section_heading(t.methods_heading, link('methods'), t.view_methods) }} {% for family in ['experience', 'skill'] if errors.get(family) %}{{ read_error(errors[family], t[family]) }}{% endfor %} {% if not errors.get('experience') %}{{ experience_card() }}{% endif %} {% if not errors.get('skill') %}
{{ t.skill }}{% if data.skill %}{{ data.skill.name }}{% else %}{{ t.skills_empty }}{% endif %}
{% endif %}
{{ section_heading(t.handoff, link('handoff'), t.view_all) }} {% if errors.get('handoff') %}{{ read_error(errors.handoff, t.handoff) }}{% else %}

{% if data.handoff %}{{ data.handoff.objective|truncate(120, true) }}{% else %}{{ t.handoff_empty }}{% endif %}

{{ t.recorded_state }}

{% if data.handoff %}
    {% for statement in data.handoff.state[:3] %}
  • {{ statement.text|truncate(120, true) }}
  • {% endfor %}
{% else %}

{{ t.handoff_empty_body }}

{% endif %}

{{ t.next_action }}

{{ data.handoff.next_action.text|truncate(80, true) if data.handoff and data.handoff.next_action else t.no_next_action }}

{% if data.handoff and data.handoff.disposition in ['complete', 'blocked'] %}

{{ t.complete_notice if data.handoff.disposition == 'complete' else t.blocked_notice }}

{% endif %}
{% endif %}