mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-02-11 08:23:49 +00:00
ui: Use HTMX to update notifications on partial page updates
Tests: - When app install button is clicked, the new page shows that app is being installed. However, when app installation is complete, the notification still shows that app is being installed. With the patch, the issues is resolved. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
01cafafcda
commit
04ba96a467
@ -8,7 +8,7 @@
|
||||
{% load static %}
|
||||
|
||||
{% if notifications %}
|
||||
<div class="notifications collapse no-no-js">
|
||||
<div id="notifications" class="notifications collapse no-no-js" hx-swap-oob="true">
|
||||
<ul>
|
||||
{% for note in notifications %}
|
||||
<li class="notification notification-{{ note.severity }}">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user