Merge pull request 'allow html in notifications' (#359) from staging into main
All checks were successful
CI/CD Pipeline / test (push) Successful in 11m34s
CI/CD Pipeline / deploy-staging (push) Has been skipped
CI/CD Pipeline / deploy-main (push) Successful in 5m25s

Reviewed-on: #359
This commit is contained in:
philipp 2024-04-12 11:33:26 +02:00
commit b1d3f8ddc9

View File

@ -22,7 +22,7 @@
<small class="uppercase text-gray-600 dark:text-gray-100">
<strong>{{ notification.category }}</strong> &bullet; {{ notification.created_at | date(timezone="Europe/Vienna", format="%d.%m.%Y %H:%M",) }}
</small>
<div class="mt-1">{{ notification.message }}</div>
<div class="mt-1">{{ notification.message | safe}}</div>
</div>
<div>
{% if not notification.read_at %}
@ -47,7 +47,7 @@
<small class="uppercase text-gray-600 dark:text-gray-100">
<strong>{{ notification.category }}</strong> &bullet; {{ notification.created_at | date(timezone="Europe/Vienna", format="%d.%m.%Y %H:%M") }}
</small>
<div class="mt-1">{{ notification.message }}</div>
<div class="mt-1">{{ notification.message | safe}}</div>
</div>
{% endif %}
{% endfor %}