FreedomBox/plinth/templates/operation-notification.html
Sunil Mohan Adapa 1d14d4a4d6
ui: Rename 'plinth_extras' template tags module to 'extras'
- Remove yet another reference to 'plinth'.

Tests:

- Some basic pages work.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2026-03-19 19:14:58 -04:00

25 lines
503 B
HTML

{% comment %}
# SPDX-License-Identifier: AGPL-3.0-or-later
{% endcomment %}
{% load i18n %}
{% load static %}
{% load extras %}
<p>
{% if data.state == "waiting" %}
{% icon 'clock-o' %}
{% elif data.state == "running" %}
{% icon 'refresh' class='svg-icon spin' %}
{% elif data.state == "completed" %}
{% endif %}
{{ message }}
</p>
{% if data.state == "completed" %}
<div class="btn-toolbar">
{% include 'notifications-dismiss-button.html' with id=id %}
</div>
{% endif %}