diff options
Diffstat (limited to 'postgresql-details-html.lsp')
-rw-r--r-- | postgresql-details-html.lsp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/postgresql-details-html.lsp b/postgresql-details-html.lsp index 78db808..831e9f3 100644 --- a/postgresql-details-html.lsp +++ b/postgresql-details-html.lsp @@ -1,11 +1,10 @@ -<% 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> -<% -htmlviewfunctions.displayitem(data) -%> +<% local header_level = htmlviewfunctions.displaysectionstart(data, page_info) %> +<% htmlviewfunctions.displayitem(data) %> +<% htmlviewfunctions.displaysectionend(header_level) %> |