add mailto to reports

This commit is contained in:
2024-10-15 12:15:57 +02:00
parent 598acfd77c
commit aa759af8c5
9 changed files with 129 additions and 1 deletions
@@ -61,6 +61,11 @@
{# {% if not enum(groupStatus, 'COMPLETE') %}#}
<div class="card-body">
<p class="card-text">{{ _self.statusForm(report, reportToDoList, groupStatus) }}</p>
{% if is_granted('reportEdit') and not report.isEmailSend %}
<a class="btn btn-sm btn-outline-primary" href="{{ getMailtoLink(report) }}">Wyślij maila</a>
{% endif %}
</div>
{# {% endif %}#}
{% if enum(groupStatus, 'WORKING') %}