This commit is contained in:
2022-12-30 16:23:27 +00:00
parent 02776e8478
commit 20da343c54
1304 changed files with 870224 additions and 0 deletions

View File

@ -0,0 +1,12 @@
<button class="btn btn-sm {% if contact.block_forward %}
text-primary {% else %} text-warning {% endif %}" hx-post="{{ url_for('dashboard.toggle_contact', contact_id=contact.id) }}" hx-swap="outerHTML">
{% if contact.block_forward %}
<i class="fe fe-play-circle"
data-toggle="tooltip"
title="Unblock sender"></i>
{% else %}
<i class="fe fe-pause-circle" data-toggle="tooltip" title="Block sender"></i>
{% endif %}
</button>
{% if toast_msg %}<script>toastr.success("{{ toast_msg }}");</script>{% endif %}