Merge pull request #2279 from yglb/master
luci-theme-rosy: Remove redundant statements and fixed typo
This commit is contained in:
commit
e535ef5828
1 changed files with 2 additions and 4 deletions
|
@ -154,9 +154,7 @@
|
||||||
local nnode = cattree.nodes[r]
|
local nnode = cattree.nodes[r]
|
||||||
local grandchildren = disp.node_childs(nnode)
|
local grandchildren = disp.node_childs(nnode)
|
||||||
|
|
||||||
if #grandchildren > 0 then
|
if #grandchildren <= 0 then
|
||||||
|
|
||||||
else
|
|
||||||
local title = pcdata(striptags(translate(nnode.title)))
|
local title = pcdata(striptags(translate(nnode.title)))
|
||||||
|
|
||||||
write('<span class="label logout"><a data-title="%s" href="%s">%s</a></span>' %{
|
write('<span class="label logout"><a data-title="%s" href="%s">%s</a></span>' %{
|
||||||
|
@ -287,7 +285,7 @@
|
||||||
<p>
|
<p>
|
||||||
<%:There is no password set on this router. Please configure a root password to protect the web interface and enable SSH.%>
|
<%:There is no password set on this router. Please configure a root password to protect the web interface and enable SSH.%>
|
||||||
</p>
|
</p>
|
||||||
<div><a class="btn" href="<%=url(" admin/system/admin")%>"> <%:Go to password configuration...%></a></div>
|
<div><a class="btn" href="<%=url("admin/system/admin")%>"> <%:Go to password configuration...%></a></div>
|
||||||
</div>
|
</div>
|
||||||
<%- end -%>
|
<%- end -%>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue