roundabout,
created on Tuesday, 9 April 2024, 14:28:21 (1712672901),
received on Wednesday, 31 July 2024, 06:54:45 (1722408885)
Author identity: vlad <vlad.muntoiu@gmail.com>
abe88541b8a7b4683f9c51e50683d936a9caf6b5
templates/notifications.html
@@ -11,7 +11,7 @@
<x-vbox> {% if notifications %} <form method="post" action="/notifications/mark-all-read"> <button type="submit">Mark all as read</button><button type="submit">{% trans %}Mark all as read{% endtrans %}</button></form> {% for notification in notifications %} <article class="card card-horizontal">
@@ -24,11 +24,11 @@
<section> {% if notification.attention_level %} <button hx-post="/notifications/{{ notification.id }}/read" hx-swap="outerHTML"> Mark as read{% trans %}Mark as read{% endtrans %}</button> {% else %} <button hx-post="/notifications/{{ notification.id }}/unread" hx-swap="outerHTML"> Mark as unread{% trans %}Mark as unread{% endtrans %}</button> {% endif %} </section>