diff options
-rw-r--r-- | dovecot-details-html.lsp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/dovecot-details-html.lsp b/dovecot-details-html.lsp index 78db808..13cb223 100644 --- a/dovecot-details-html.lsp +++ b/dovecot-details-html.lsp @@ -1,11 +1,12 @@ -<% local data, viewlibrary = ... +<% local data, viewlibrary, page_info, session = ... htmlviewfunctions = require("htmlviewfunctions") html = require("acf.html") %> <% viewlibrary.dispatch_component("status") %> -<h2><%= html.html_escape(data.label) %></h2> <% +local header_level = htmlviewfunctions.displaysectionstart(data, page_info) htmlviewfunctions.displayitem(data) +htmlviewfunctions.displaysectionend(header_level) %> |