projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
libs/web: render aggregated messages
[project/luci.git]
/
libs
/
web
/
luasrc
/
view
/
cbi
/
map.htm
diff --git
a/libs/web/luasrc/view/cbi/map.htm
b/libs/web/luasrc/view/cbi/map.htm
index
406c7e7
..
d3fc65b
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%>">