mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-04-22 10:01:45 +00:00
Tests: - Trigger the message using code change and observe the messages displayed. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: Veiko Aasa <veiko17@disroot.org>
21 lines
595 B
HTML
21 lines
595 B
HTML
{% comment %}
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
{% endcomment %}
|
|
|
|
{% load i18n %}
|
|
|
|
{% if pkg_manager_is_busy %}
|
|
<div class="alert alert-danger d-flex align-items-center">
|
|
<div class="me-2">
|
|
<span class="fa fa-exclamation-triangle" aria-hidden="true"></span>
|
|
<span class="visually-hidden">{% trans "Caution:" %}</span>
|
|
</div>
|
|
<div>
|
|
{% blocktrans trimmed %}
|
|
Currently an installation or upgrade is running. Consider waiting
|
|
until it's finished before shutting down or restarting.
|
|
{% endblocktrans %}
|
|
</div>
|
|
</div>
|
|
{% endif %}
|