Compare commits

...

2 Commits

Author SHA1 Message Date
b1d3f8ddc9 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
2024-04-12 11:33:26 +02:00
3b04b39d66 allow html in notifications
All checks were successful
CI/CD Pipeline / test (push) Successful in 11m37s
CI/CD Pipeline / deploy-staging (push) Successful in 5m31s
CI/CD Pipeline / deploy-main (push) Has been skipped
2024-04-12 11:32:21 +02:00

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 %}