Implement contact matching
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user