diff options
Diffstat (limited to 'module/web')
-rw-r--r-- | module/web/pyload_app.py | 6 | ||||
-rw-r--r-- | module/web/templates/default/base.html | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/module/web/pyload_app.py b/module/web/pyload_app.py index 324bb31df..47b5507ca 100644 --- a/module/web/pyload_app.py +++ b/module/web/pyload_app.py @@ -55,8 +55,10 @@ def pre_processor(): # check if update check is available if info: - if info["pyload"] == "True": update = True - if info["plugins"] == "True": plugins = True + if info["pyload"] == "True": + update = info["version"] + if info["plugins"] == "True": + plugins = True return {"user": user, diff --git a/module/web/templates/default/base.html b/module/web/templates/default/base.html index 2a6373e27..4edc30d3d 100644 --- a/module/web/templates/default/base.html +++ b/module/web/templates/default/base.html @@ -36,7 +36,7 @@ {% if update %} <span> -<span style="font-weight: bold; margin: 0 2px 0 2px;">{{_("pyLoad Update available!")}}</span> +<span style="font-weight: bold; margin: 0 2px 0 2px;">{{_("New pyLoad version %s available!") % update}}</span> </span> {% endif %} |