diff options
Diffstat (limited to 'src/ffluci/view')
-rw-r--r-- | src/ffluci/view/admin_system/upgrade.htm | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/ffluci/view/admin_system/upgrade.htm b/src/ffluci/view/admin_system/upgrade.htm index e7a8f2f686..d91d169a4a 100644 --- a/src/ffluci/view/admin_system/upgrade.htm +++ b/src/ffluci/view/admin_system/upgrade.htm @@ -2,7 +2,7 @@ <h1><%:system System%></h1> <h2><%:upgrade Upgrade%></h2> <br /> -<% if sysupgrade then %> +<% if sysupgrade and not ret then %> <form method="post" action="<%=controller%>-upload/admin/system/upgrade" enctype="multipart/form-data"> <fieldset class="cbi-section-node"> <div class="cbi-value clear"> @@ -20,7 +20,13 @@ </div> </fieldset> </form> +<% elseif ret then %> + <% if ret == 0 then %> +<div class="ok"><%:flashed Flashvorgang erfolgreich. Router startet neu...%></div> + <% else %> +<div class="error"><%:flasherr Flashvorgang fehlgeschlagen!%> (<%:code Code%> <%=ret%>)</div> + <% end %> <% else %> -<div class="error"><%:notimplemented Diese Funktion ist leider (noch) nicht eingebaut.%></div> +<div class="error"><%:notimplemented Diese Funktion steht leider (noch) nicht zur Verfügung.%></div> <% end %> <%+footer%>
\ No newline at end of file |