{% extends "base.html" %} {% import "macros.html" as m %} {# The header (name, the line under it, the action row, the status strip) stays on top. Below it the sections come in layout.toml's order (help: adjust-layout); their names, in the default order: details, tasks, quick-add, timeline, drafts, merge, delete. Merge and delete, the rare and destructive ones, always sit in the closed "More" box at the bottom, in the same order. `hide` is the fields layout.toml hides on this page. #} {% macro ago(days) -%} {{ 'today' if days == 0 else 'yesterday' if days == 1 else days ~ ' days ago' }} {%- endmacro %} {% macro arrow(direction) -%} {%- if direction %}{{ direction }}{% endif -%} {%- endmacro %} {% block title %}{{ contact.name }}{% endblock %} {% block content %} {%- set hide = layout_hidden('contact') %} {%- set sections = layout_sections('contact') %} {%- set more = sections | select('in', ['merge', 'delete']) | list %} {%- set s = summary %}
{% if contact.title and 'title' not in hide %}{{ contact.title }} at {% endif %}{{ company.name }} {{ company.stage }}{% if contact.role and 'role' not in hide %} {{ contact.role }}{% endif %}
Things you owe this person. {{ company.name }}'s next step is its open task due first, which can be one of these.
{{ m.task_list(company, contact.tasks, today, contact=contact.slug) }}slug {{ contact.slug }} · created {{ fmt_datetime(contact.created) }} · updated {{ fmt_datetime(contact.updated) }}