diff --git a/views/menu.tpl b/views/menu.tpl index 210690ef3..c55dd1f6a 100644 --- a/views/menu.tpl +++ b/views/menu.tpl @@ -113,18 +113,18 @@ + + % restart_required = c.execute("SELECT configured, updated FROM system").fetchone() + % c.close() + + % if restart_required[1] == '1' and restart_required[0] == '1': +
Bazarr need to be restarted to apply last update and changes to general settings.
+ % elif restart_required[1] == '1': +
Bazarr need to be restarted to apply last update.
+ % elif restart_required[0] == '1': +
Bazarr need to be restarted to apply changes to general settings.
+ % end - - % restart_required = c.execute("SELECT configured, updated FROM system").fetchone() - % c.close() - - % if restart_required[1] == '1' and restart_required[0] == '1': -
Bazarr need to be restarted to apply last update and changes to general settings.
- % elif restart_required[1] == '1': -
Bazarr need to be restarted to apply last update.
- % elif restart_required[0] == '1': -
Bazarr need to be restarted to apply changes to general settings.
- % end