{% extends "base.html" %} {% block title %}{{ contact.name }} — Software of You{% endblock %} {% block content %}
{{ contact.name[:2] | upper }}

{{ contact.name }}

{% if contact.role or contact.company %}

{{ contact.role or '' }}{{ ' at ' if contact.role and contact.company else '' }}{{ contact.company or '' }}

{% endif %}
{% if contact.email %} {{ contact.email }} {% endif %} {% if contact.phone %} {{ contact.phone }} {% endif %}
{% with status=contact.status %}{% include "components/status_badge.html" %}{% endwith %} {% for tag in tags %} {{ tag.name }} {% endfor %}
{% if narrative_sections and narrative_sections.relationship_context %}

Relationship Context

{{ narrative_sections.relationship_context }}
{% if next_action %}

{{ next_action }}

{% endif %}
{% endif %} {% if narrative_sections and narrative_sections.company_intel %}

{{ contact.company or 'Company Intel' }}

{{ narrative_sections.company_intel }}
{% if company_team %}

Key Team

{% for member in company_team %}
{{ member.name[:2] | upper }}
{{ member.name }} {% if member.role %}· {{ member.role }}{% endif %}
{% endfor %}
{% endif %}
{% endif %} {% if emails %}

Email History

{{ emails | length }} messages
{% for email in emails %}
{{ 'You' if email.direction == 'outbound' else (email.from_name[:2] | upper if email.from_name else '?') }}
{{ 'You' if email.direction == 'outbound' else email.from_name }} {{ email.received_at_formatted }}

{{ email.summary or email.snippet }}

{% endfor %}
{% endif %} {% if call_intelligence %}

Call Intelligence

{{ transcripts | length }} calls
{% if call_intelligence.pain_points %}

Pain Points

{% for pp in call_intelligence.pain_points %}

{{ pp.title }}

{{ pp.detail }}

{% endfor %}
{% endif %} {% if call_intelligence.tech_stack %}

Known Tech Stack

{% for tool in call_intelligence.tech_stack %} {{ tool.name }} · {{ tool.category }} {% endfor %}
{% endif %} {% if call_intelligence.key_concerns %}

Key Concerns

{% for concern in call_intelligence.key_concerns %}
{% if concern.addressed %} {% else %} {% endif %}

{{ concern.title }}

{{ concern.detail }}

{% endfor %}
{% endif %}
{% endif %}
{% if upcoming_events %}

Upcoming

{% for event in upcoming_events %}

{{ event.title }}

{{ event.start_formatted }}

{% if event.location %}

{{ event.location }}

{% endif %}
{% endfor %}
{% endif %} {% if projects %}

Projects

{% for p in projects %}
{{ p.name }} {% with status=p.status %}{% include "components/status_badge.html" %}{% endwith %}
{% if p.tasks %}
{% for task in p.tasks %}
{% if task.status == 'done' %} {{ task.title }} {% else %} {{ task.title }} {% endif %}
{% endfor %}
{% endif %}
{% endfor %}
{% endif %} {% if notes or standalone_notes %}

About

{% for note in notes %}

{{ note.content }}

{% endfor %} {% for note in standalone_notes %}
{% if note.title %}

{{ note.title }}

{% endif %}

{{ note.preview }}

{% if note.tags %}
{% for tag in note.tags %} {{ tag }} {% endfor %}
{% endif %}
{% endfor %}
{% endif %} {% if follow_ups %}

Follow-ups

{% for fu in follow_ups %}

{{ fu.reason }}

{{ fu.due_date }}

{% endfor %}
{% endif %} {% if narrative_sections and narrative_sections.discovery_questions %}

Discovery Questions

{{ narrative_sections.discovery_questions }}
{% endif %} {% if relationship_score %}

Relationship Score

{{ relationship_score.relationship_depth | default('—') | title }}

Depth

{{ relationship_score.trajectory | default('—') | title }}

Trajectory

{% endif %}
{% endblock %}