summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base/luasrc/view/error404.htm
diff options
context:
space:
mode:
authorKarl Palsson <karlp@etactica.com>2020-07-06 17:35:14 +0000
committerKarl Palsson <karlp@etactica.com>2020-07-07 15:01:03 +0000
commit48715ba5c8ccec4bfe326b1de612d7056d161000 (patch)
treef6bcb869d435d1b17c2093e301f353bd84b20192 /modules/luci-base/luasrc/view/error404.htm
parent1af55c31b2795fdf0ddebf15c2724ac38d643331 (diff)
error404: flow message into template
message was only being shown in the plain text case when the render failed. Signed-off-by: Karl Palsson <karlp@etactica.com>
Diffstat (limited to 'modules/luci-base/luasrc/view/error404.htm')
-rw-r--r--modules/luci-base/luasrc/view/error404.htm1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/luci-base/luasrc/view/error404.htm b/modules/luci-base/luasrc/view/error404.htm
index a762f6038b..ff151d1834 100644
--- a/modules/luci-base/luasrc/view/error404.htm
+++ b/modules/luci-base/luasrc/view/error404.htm
@@ -7,5 +7,6 @@
<%+header%>
<h2 name="content">404 <%:Not Found%></h2>
<p><%:Sorry, the object you requested was not found.%></p>
+<p><%=message%></p>
<tt><%:Unable to dispatch%>: <%=url(unpack(luci.dispatcher.context.request))%></tt>
<%+footer%>