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

@@ -38,7 +38,7 @@
</button>
{% if show_contact_actions %}
{% if type == 'page' %}
<a href="{% url 'signal_contacts' type=type pk=item %}"><button
<a href="{% url contacts_url_name type=type pk=item %}"><button
class="button">
<span class="icon-text">
<span class="icon">
@@ -47,7 +47,7 @@
</span>
</button>
</a>
<a href="{% url 'signal_chats' type=type pk=item %}"><button
<a href="{% url chats_url_name type=type pk=item %}"><button
class="button">
<span class="icon-text">
<span class="icon">
@@ -59,7 +59,7 @@
{% else %}
<button
hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}'
hx-get="{% url 'signal_contacts' type=type pk=item %}"
hx-get="{% url contacts_url_name type=type pk=item %}"
hx-trigger="click"
hx-target="#{{ type }}s-here"
hx-swap="innerHTML"
@@ -72,7 +72,7 @@
</button>
<button
hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}'
hx-get="{% url 'signal_chats' type=type pk=item %}"
hx-get="{% url chats_url_name type=type pk=item %}"
hx-trigger="click"
hx-target="#{{ type }}s-here"
hx-swap="innerHTML"