From 9aa061691dbfae12624a90657ac4d99b4d985bd0 Mon Sep 17 00:00:00 2001 From: Nathan Woodburn Date: Tue, 4 Feb 2025 18:25:27 +1100 Subject: [PATCH] fix: Update update to make it clearer --- main.py | 2 +- templates/components/dashboard-alert.html | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 templates/components/dashboard-alert.html diff --git a/main.py b/main.py index ae4d362..cb76ed2 100644 --- a/main.py +++ b/main.py @@ -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) diff --git a/templates/components/dashboard-alert.html b/templates/components/dashboard-alert.html new file mode 100644 index 0000000..12aeb15 --- /dev/null +++ b/templates/components/dashboard-alert.html @@ -0,0 +1,8 @@ +
+
+
+
{{name}}
+
{{output | safe}}
+
+
+
\ No newline at end of file