Implement contact matching

This commit is contained in:
2026-02-15 23:48:32 +00:00
parent 10af1e4d6b
commit b1a53034d5
12 changed files with 667 additions and 46 deletions

View File

@@ -1,15 +1,23 @@
{% if items %}
{% for item in items %}
<a class="navbar-item" href="{{ item.compose_url }}">
<span class="icon is-small"><i class="{{ manual_icon_class }}"></i></span>
<span class="icon is-small"><i class="{{ item.service_icon_class|default:manual_icon_class }}"></i></span>
<span style="margin-left: 0.35rem;">
{{ item.person_name }} · {{ item.service|title }}
{% if not item.linked_person %}
<small class="has-text-grey"> · unlinked</small>
{% endif %}
</span>
</a>
{% endfor %}
{% else %}
<a class="navbar-item is-disabled">No contacts found.</a>
{% endif %}
<hr class="navbar-divider" style="margin: 0.2rem 0;">
<a class="navbar-item" href="{{ match_url }}">
<span class="icon is-small"><i class="fa-solid fa-link"></i></span>
<span style="margin-left: 0.35rem;">Match Contacts</span>
</a>
{% if is_preview %}
<hr class="navbar-divider" style="margin: 0.2rem 0;">
<a