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-read-html.lsp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'openssl-read-html.lsp') diff --git a/openssl-read-html.lsp b/openssl-read-html.lsp index 4691b13..21fa0c0 100644 --- a/openssl-read-html.lsp +++ b/openssl-read-html.lsp @@ -24,6 +24,12 @@ <% htmlviewfunctions.displaycommandresults({"approve", "deleterequest", "deletemyrequest", "renewcert", "requestrenewcert", "revoke", "deletecert"}, 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 cadir = cfe({ type="hidden", value=view.value.cadir.value }) %> <% local label = "" -- cgit v1.2.3