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