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-editconfigfile-html.lsp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'openssl-editconfigfile-html.lsp') diff --git a/openssl-editconfigfile-html.lsp b/openssl-editconfigfile-html.lsp index 46aa4d4..28ea11a 100644 --- a/openssl-editconfigfile-html.lsp +++ b/openssl-editconfigfile-html.lsp @@ -3,6 +3,12 @@ <% htmlviewfunctions.displaycommandresults({"checkenvironment"}, session, true) %> +<% +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=form.value.cadir.value}) +end +%> + <% local pattern = string.gsub(page_info.prefix..page_info.controller, "[%(%)%.%%%+%-%*%?%[%]%^%$]", "%%%1") local func = haserl.loadfile(page_info.viewfile:gsub(pattern..".*$", "/") .. "filedetails-html.lsp") -- cgit v1.2.3