X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=modules%2Fadmin-full%2Fluasrc%2Fview%2Fadmin_system%2Freboot.htm;h=b7b10b50fb0c097299fc6cc31108171f1ff21421;hp=3ddfa5880ebe14901c450387f19e228472bb1692;hb=c882d1f501ec61245d86f46f8d740a35e5faaa81;hpb=97ff4a156ff1aa6a4d2ab65ab13d12b4eb2651e2 diff --git a/modules/admin-full/luasrc/view/admin_system/reboot.htm b/modules/admin-full/luasrc/view/admin_system/reboot.htm index 3ddfa5880..b7b10b50f 100644 --- a/modules/admin-full/luasrc/view/admin_system/reboot.htm +++ b/modules/admin-full/luasrc/view/admin_system/reboot.htm @@ -16,10 +16,18 @@ $Id$

<%:system%>

<%:reboot%>

<%:a_s_reboot1%>

-<% if not reboot then %> +<%- +local c = require("luci.model.uci").cursor():changes() +if c and next(c) then +-%> +

<%:a_s_reboot_u%>

+<%- +end +if not reboot then +-%>

<%:a_s_reboot_do%>

-<% else %> +<%- else -%>

<%:a_s_reboot_running%>

-<% end %> +<%- end -%> <%+footer%> \ No newline at end of file