From: Jo-Philipp Wich Date: Sat, 27 Nov 2010 18:18:06 +0000 (+0000) Subject: libs/web: render aggregated messages X-Git-Tag: 0.10.0~349 X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=commitdiff_plain;h=34ee1629766969e514dc878ebc53208926bdaf16 libs/web: render aggregated messages --- diff --git a/libs/web/luasrc/view/cbi/map.htm b/libs/web/luasrc/view/cbi/map.htm index 406c7e74e..d3fc65bd2 100644 --- 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 -%> +
<%=pcdata(msg)%>
+<%- end end -%> + <%-+cbi/apply_xhr-%>