From fb3cc9787652312ac452372d3a8e8efb893c4a0f Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Mon, 2 Feb 2015 22:29:46 -0500 Subject: Added getcachain action to show the parent CAs when we are in a child, modified all views to display it This includes adding a generic HTML view to display cadir and then display the cfe --- openssl-status-html.lsp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'openssl-status-html.lsp') diff --git a/openssl-status-html.lsp b/openssl-status-html.lsp index 07c1646..32f64d3 100644 --- a/openssl-status-html.lsp +++ b/openssl-status-html.lsp @@ -5,6 +5,12 @@ <% htmlviewfunctions.displaycommandresults({"checkenvironment", "putcacert", "generatecacert"}, session, true) %> <% htmlviewfunctions.displaycommandresults({"install"}, session) %> +<% +if viewlibrary and viewlibrary.dispatch_component and viewlibrary.check_permission("getcachain") and page_info.orig_action == page_info.prefix..page_info.controller.."/"..page_info.action then + viewlibrary.dispatch_component("getcachain", {cadir=view.value.cadir.value}) +end +%> + <% local header_level = htmlviewfunctions.displaysectionstart(view, page_info) -- cgit v1.2.3