mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-08-05 12:19:31 +00:00
Tests: - Through code changes, ensure that dist upgrade notification, updated to new release notification, privacy notification, and app installed notification show up. Ensure that they have correct hx- attributes and URL property for dismiss button. Clicking dismiss button works as expected. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: Joseph Nuthalapati <njoseph@riseup.net>
22 lines
543 B
HTML
22 lines
543 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>
|
|
{% include 'notifications-dismiss-button.html' with id=id %}
|
|
</p>
|