allow html in notifications #359

Merged
philipp merged 1 commits from staging into main 2024-04-12 11:33:30 +02:00

View File

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