fix: Update update to make it clearer
All checks were successful
Build Docker / Build Image (push) Successful in 51s

This commit is contained in:
Nathan Woodburn 2025-02-04 18:25:27 +11:00
parent ce8c773db3
commit 9aa061691d
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1
2 changed files with 9 additions and 1 deletions

View File

@ -56,7 +56,7 @@ def index():
commit = info['commit']
if commit != latestVersion(branch):
print("New version available",flush=True)
plugins += render_template('components/dashboard-plugin.html', name='Update', output='New version available')
plugins += render_template('components/dashboard-alert.html', name='Update', output='A new version of FireWallet is available')
return render_template("index.html", account=account, plugins=plugins)

View File

@ -0,0 +1,8 @@
<div class="col-md-6 col-xl-3 mb-4">
<div class="card shadow border-start-warning py-2">
<div class="card-body">
<div class="text-uppercase fw-bold text-xs mb-1"><span style="color: var(--bs-dark);">{{name}}</span></div>
<div class="text-dark fw-bold h5 mb-0"><span>{{output | safe}}</span></div>
</div>
</div>
</div>