projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e97be1
)
libs/web: render aggregated messages
author
Jo-Philipp Wich
<jow@openwrt.org>
Sat, 27 Nov 2010 18:18:06 +0000
(18:18 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Sat, 27 Nov 2010 18:18:06 +0000
(18:18 +0000)
libs/web/luasrc/view/cbi/map.htm
patch
|
blob
|
history
diff --git
a/libs/web/luasrc/view/cbi/map.htm
b/libs/web/luasrc/view/cbi/map.htm
index 406c7e74ee74c0dbe8764531df252abbba1271eb..d3fc65bd22dc5cfd9e3da7b1438ad6c4989cce76 100644
(file)
--- a/
libs/web/luasrc/view/cbi/map.htm
+++ b/
libs/web/luasrc/view/cbi/map.htm
@@
-13,6
+13,10
@@
$Id$
-%>
+<%- if firstmap and messages then local msg; for _, msg in ipairs(messages) do -%>
+ <div class="errorbox"><%=pcdata(msg)%></div>
+<%- end end -%>
+
<%-+cbi/apply_xhr-%>
<div class="cbi-map" id="cbi-<%=self.config%>">