{% from 'components/page-heading.html' import page_heading %} {% from 'components/pagination.html' import pagination %} {{ page_heading(t.handoff,t.handoff_subtitle) }} {% if errors.get('handoff') %}{{ read_error(errors.handoff,t.handoff) }}{% endif %}
{% for record in collections.get('handoff',{}).get('items',[]) if 'error' not in record %}

{{ record.objective }}

{{ t.handoff_saved }}

{{ record.state[0].text|truncate(220,true) }}

{{ t.next_action }}:{{ record.next_action.text|truncate(220,true) if record.next_action else t.no_next_action }}

{{ t.read_handoff }} →{{ t.export_markdown }}{{ t.revision }} {{ record.revision }}
{% else %}{% if not errors.get('handoff') %}

{{ t.handoff_empty }}

{{ t.handoff_empty_body }}

{% endif %}{% endfor %}
{{ pagination(collections.get('handoff',{}).get('pager'),t) }}