summaryrefslogtreecommitdiffstats
path: root/openntpd-details-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'openntpd-details-html.lsp')
-rw-r--r--openntpd-details-html.lsp8
1 files changed, 2 insertions, 6 deletions
diff --git a/openntpd-details-html.lsp b/openntpd-details-html.lsp
index da4db3b..6c355a3 100644
--- a/openntpd-details-html.lsp
+++ b/openntpd-details-html.lsp
@@ -1,4 +1,4 @@
-<% local data, viewlibrary = ...
+<% local data, viewlibrary, page_info, session = ...
htmlviewfunctions = require("htmlviewfunctions")
html = require("acf.html")
%>
@@ -7,8 +7,4 @@ html = require("acf.html")
viewlibrary.dispatch_component("status")
end %>
-<h2><%= html.html_escape(data.label) %></h2>
-<%
-htmlviewfunctions.displayitem(data.value.date)
-htmlviewfunctions.displayitem(data.value.timechanged)
-%>
+<% htmlviewfunctions.displayitem(data, page_info) %>