summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lbu-listchanges-html.lsp13
1 files changed, 3 insertions, 10 deletions
diff --git a/lbu-listchanges-html.lsp b/lbu-listchanges-html.lsp
index d49d010..2e9c3fe 100644
--- a/lbu-listchanges-html.lsp
+++ b/lbu-listchanges-html.lsp
@@ -1,24 +1,17 @@
<% local view, viewlibrary, page_info, session = ...
require("viewfunctions")
%>
-<%
---[[ DEBUG INFORMATION
-io.write("<H1>DEBUGGING</H1><span style='color:red'><H2>DEBUG INFO: CFE</H2>")
-io.write(html.cfe_unpack(view))
-io.write("</span>")
---]]
-%>
<% displaycommandresults({"commit"}, session, true) %>
-<% if viewlibrary and viewlibrary.dispatch_component then
+<%
viewlibrary.dispatch_component("status")
- if session.permissions.lbu.commit then
+ if viewlibrary.check_permission("commit") then
viewlibrary.dispatch_component("commit")
end
end %>
-<% if session.permissions.lbu.getpackage then %>
+<% if viewlibrary.check_permission("getpackage") then %>
<H1>Download Overlay</H1>
<DL>
<DT>Generate and download overlay</DT>