summaryrefslogtreecommitdiffstats
path: root/module/web/templates/default/base.html
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-07-21 13:01:24 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-07-21 13:01:24 +0200
commit3b5c6ac1b27189ff017910816324420cb3b2cec6 (patch)
tree9e8b57a7c664a40681c701e6545d031b74c260ec /module/web/templates/default/base.html
parentimproved online check (diff)
downloadpyload-3b5c6ac1b27189ff017910816324420cb3b2cec6.tar.xz
show updates on webif
Diffstat (limited to 'module/web/templates/default/base.html')
-rw-r--r--module/web/templates/default/base.html16
1 files changed, 15 insertions, 1 deletions
diff --git a/module/web/templates/default/base.html b/module/web/templates/default/base.html
index c247a7dc8..5b6854525 100644
--- a/module/web/templates/default/base.html
+++ b/module/web/templates/default/base.html
@@ -181,12 +181,26 @@ function AddBox(){
{% if user.is_authenticated %}
+
+{% if update %}
+<span>
+<span style="font-weight: bold; margin: 0 2px 0 2px;">{{_("pyLoad Update available!")}}</span>
+</span>
+{% endif %}
+
+
+{% if plugins %}
+<span>
+<span style="font-weight: bold; margin: 0 2px 0 2px;">{{_("Plugins updated, please restart!")}}</span>
+</span>
+{% endif %}
+
<span id="cap_info" style="display: {% if captcha %}inline{%else%}none{% endif %}">
<img src="/media/default/img/images.png" alt="Captcha:" style="vertical-align:middle; margin:2px" />
<span style="font-weight: bold; cursor: pointer; margin-right: 2px;">{{_("Captcha waiting")}}</span>
</span>
-<img src="/media/default/img/head-login.png" alt="User:" style="vertical-align:middle; margin:2px" /><span style="padding-right: 2px;">{{user.name}}</span>
+ <img src="/media/default/img/head-login.png" alt="User:" style="vertical-align:middle; margin:2px" /><span style="padding-right: 2px;">{{user.name}}</span>
<ul id="user-actions">
<li><a href="/logout" class="action logout" rel="nofollow">{{_("Logout")}}</a></li>
{% if user.is_admin %}