mirror of
https://github.com/openwrt/luci.git
synced 2025-12-27 04:29:58 +04:00
Fixed Reboot pages
This commit is contained in:
@@ -17,7 +17,7 @@ $Id$
|
||||
<h2><%:reboot%></h2>
|
||||
<p><%:a_s_reboot1%></p>
|
||||
<%-
|
||||
local c = require("luci.model.uci").changes()
|
||||
local c = require("luci.model.uci").cursor():changes()
|
||||
if c and next(c) then
|
||||
-%>
|
||||
<p class="warning"><%:a_s_reboot_u%></p>
|
||||
|
||||
@@ -17,7 +17,7 @@ $Id$
|
||||
<h2><%:reboot%></h2>
|
||||
<p><%:a_s_reboot1%></p>
|
||||
<%-
|
||||
local c = require("luci.model.uci").changes()
|
||||
local c = require("luci.model.uci").cursor():changes()
|
||||
if c and next(c) then
|
||||
-%>
|
||||
<p class="warning"><%:a_s_reboot_u%></p>
|
||||
|
||||
Reference in New Issue
Block a user