{% extends "base.html" %} {% import "macros.html" as m %} {% from "icons.html" import icon %} {# 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, 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 %}
Not about {{ contact.first_name or contact.name }}, but part of what you know here. {{ contact.first_name or contact.name }}'s own notes are in the timeline below.
{% if elsewhere.company.total %}{{ m.note_group('Whole company', elsewhere.company, '/companies/' ~ company.slug ~ '#company-notes', 'the company page') }}{% endif %} {% for o in elsewhere.others %}{{ m.note_group(o.name, o, '/companies/' ~ company.slug ~ '/contacts/' ~ o.slug) }}{% endfor %}Things you owe this person. {%- call m.hint('contact-next-step-help', 'What the next step is') %} {{ company.name }}'s next step is its open task due first, which can be one of these.{% endcall %}
{{ m.task_list(company, contact.tasks, today, contact=contact.slug) }}slug {{ contact.slug }} · created {{ fmt_datetime(contact.created) }} · updated {{ fmt_datetime(contact.updated) }}