summaryrefslogtreecommitdiffstats
path: root/shorewall-details-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'shorewall-details-html.lsp')
-rw-r--r--shorewall-details-html.lsp5
1 files changed, 3 insertions, 2 deletions
diff --git a/shorewall-details-html.lsp b/shorewall-details-html.lsp
index e3fca74..f113c17 100644
--- a/shorewall-details-html.lsp
+++ b/shorewall-details-html.lsp
@@ -1,4 +1,4 @@
-<% local data, viewlibrary = ...
+<% local data, viewlibrary, page_info, session = ...
html = require("acf.html")
%>
@@ -6,7 +6,8 @@ html = require("acf.html")
viewlibrary.dispatch_component("status")
end %>
-<h2><%= html.html_escape(data.label) %></h2>
+<% local header_level = htmlviewfunctions.displaysectionstart(data, page_info) %>
<pre>
<%= html.html_escape(data.value) %>
</pre>
+<% htmlviewfunctions.displaysectionend(header_level) %>