Files
FreedomBox/freedombox/templates/notifications-dismiss-button.html
T
Sunil Mohan Adapa 23b6aff290 plinth/*: Rename plinth/ folder to freedombox/
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2026-08-28 07:35:01 -04:00

13 lines
365 B
HTML

{% comment %}
# SPDX-License-Identifier: AGPL-3.0-or-later
{% endcomment %}
{% load i18n %}
<a href="{% url 'notification_dismiss' id=id %}?next={{ request.path|iriencode }}"
hx-get="{% url 'notification_dismiss' id=id %}"
hx-target="#notification-{{ id }}" hx-swap="delete swap:300ms" role="button"
class="btn btn-default">
{% trans "Dismiss" %}
</a>