summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-admin-full/luasrc/view/admin_uci/changelog.htm
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2018-06-25 08:49:44 +0200
committerGitHub <noreply@github.com>2018-06-25 08:49:44 +0200
commit483c9d35b20b23842b0ab78b09adb59725dfed20 (patch)
tree38860f5003e60fb78c2791f5b881156b298fc77f /modules/luci-mod-admin-full/luasrc/view/admin_uci/changelog.htm
parenta65d55ebcee57d174b557adbbb76df47b3747873 (diff)
parentc7ee1ffcf114e11a81f2fdb707c705b5cb5064e3 (diff)
Merge pull request #1895 from jow-/master
Responsive OpenWrt theme
Diffstat (limited to 'modules/luci-mod-admin-full/luasrc/view/admin_uci/changelog.htm')
-rw-r--r--modules/luci-mod-admin-full/luasrc/view/admin_uci/changelog.htm10
1 files changed, 6 insertions, 4 deletions
diff --git a/modules/luci-mod-admin-full/luasrc/view/admin_uci/changelog.htm b/modules/luci-mod-admin-full/luasrc/view/admin_uci/changelog.htm
index 4ed4f0a10f..e05ccdece3 100644
--- a/modules/luci-mod-admin-full/luasrc/view/admin_uci/changelog.htm
+++ b/modules/luci-mod-admin-full/luasrc/view/admin_uci/changelog.htm
@@ -4,7 +4,7 @@
-%>
<% export("uci_changelog", function(changes) -%>
-<fieldset class="cbi-section">
+<div class="cbi-section">
<strong><%:Legend:%></strong>
<div class="uci-change-legend">
<div class="uci-change-legend-label"><ins>&#160;</ins> <%:Section added%></div>
@@ -32,9 +32,11 @@
ret[#ret+1] = "<br />%s.%s.%s+=<strong>%s</strong>"
%{ r, s, o, util.pcdata(v[i]) }
end
- else
+ elseif v ~= "" then
ret[#ret+1] = "<br />%s.%s.%s=<strong>%s</strong>"
%{ r, s, o, util.pcdata(v) }
+ else
+ ret[#ret+1] = "<br /><del>%s.%s.<strong>%s</strong></del>" %{ r, s, o }
end
end
end
@@ -57,7 +59,7 @@
ret[#ret+1] = "%s.%s.%s+=<strong>%s</strong><br />"
%{ r, s, o, util.pcdata(v[i]) }
end
-
+
else
ret[#ret+1] = "%s.%s.%s=<strong>%s</strong><br />"
%{ r, s, o, util.pcdata(v) }
@@ -75,5 +77,5 @@
write(table.concat(ret))
%></div>
-</fieldset>
+</div>
<%- end) %>