works better. harvesting contacts still broken

This commit is contained in:
Paul Lützner committed 2026-07-19 21:25:17 +02:00
1 parent 1f836f1042
commit e7acd1af68
1 file changed
+15 -8
+15 -8
View File
@@ -1,8 +1,5 @@
{#
mail/label.html.twig — thread list for a custom label.
NOTE: mirror of sent.html.twig — align the extends/include names with the
ones used there if they differ (I modelled this on the variables the
controller passes: threads, page, total, per_page).
#}
{% extends '_layout/_mailbox.html.twig' %}
@@ -11,10 +8,20 @@ controller passes: threads, page, total, per_page).
{{ _unread > 0 ? '('~_unread~')' }} {{ label.fullName }} — {{ 'app.name'|trans }}
{% endblock %}
{% block list_heading %}
<span class="flex items-center gap-2">
{{ label.fullName }}
</span>
{% block inbox_tabs %}
<div class="px-4 py-2.5 border-b border-gray-100/70 dark:border-gray-800/70">
<h2 class="text-sm font-semibold text-gray-700 dark:text-gray-300">{{ label.fullName }}</h2>
</div>
{% endblock %}
{% block list_empty %}{{ 'label.empty'|trans }}{% endblock %}
{% block message_list %}
{% if threads is empty %}
<li class="px-4 py-8 text-center text-sm text-gray-400 dark:text-gray-600">
{{ 'label.empty'|trans }}
</li>
{% else %}
{% for thread in threads %}
{% include '_partials/_thread_row.html.twig' with { thread: thread } %}
{% endfor %}
{% endif %}
{% endblock %}