mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-03-18 09:10:49 +00:00
- Important information such as id of the notification should be available when rendering the body template. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
25 lines
642 B
HTML
25 lines
642 B
HTML
{% comment %}
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
{% endcomment %}
|
|
|
|
{% load i18n %}
|
|
{% load static %}
|
|
|
|
<div class="notification-title">
|
|
{% blocktrans %}{{box_name}} updated{% endblocktrans %}
|
|
</div>
|
|
|
|
<p>
|
|
{% blocktrans trimmed with url="https://discuss.freedombox.org/c/announcements/7" version=data.version %}
|
|
{{ box_name }} has been updated to version {{ version }}. See the
|
|
<a href="{{ url }}">release announcement</a>.
|
|
{% endblocktrans %}
|
|
</p>
|
|
|
|
<p>
|
|
<a href="{% url 'notification_dismiss' id=id %}?next={{ request.path|iriencode }}"
|
|
role="button" class="btn btn-default">
|
|
{% trans "Dismiss" %}
|
|
</a>
|
|
</p>
|