Development

This commit is contained in:
Matthew Grotke 2026-05-26 15:46:41 -04:00
parent 6eddd657e2
commit 95a6961855
2 changed files with 10 additions and 5 deletions

View file

@ -671,6 +671,12 @@ def collect_tokens():
tokens['PENDING_ACTIONS_HTML'] = pending_html
tokens['NO_PENDING'] = 'true' if not pending_items else ''
tokens['APPLY_WARNING'] = (
'<span class="btn-notice btn-notice-warning">'
'Applying actions will temporarily disrupt connections as network services are restarted.'
'</span>'
if pending_items else ''
)
done_ts_map = get_done_timestamps()
if all_snaps:
# UUIDs that cannot be reverted: revert entries themselves, and entries

View file

@ -601,11 +601,6 @@
}
]
},
{
"type": "info_bar",
"variant": "info",
"text": "Notice: Applying actions will temporarily disrupt connections as network services are restarted."
},
{
"type": "card",
"label": "Pending Actions",
@ -627,6 +622,10 @@
"type": "button_primary",
"text": "Apply Now",
"disabled": "%NO_PENDING%"
},
{
"type": "raw_html",
"html": "%APPLY_WARNING%"
}
]
}