From f11b575015c0c1d4afc688385582b596416aa046 Mon Sep 17 00:00:00 2001 From: Joshua Roys Date: Mon, 9 May 2011 14:01:05 -0400 Subject: [PATCH 2/2] Wrap the certificate request in a pre tag on the request review page Signed-off-by: Joshua Roys --- .../webapps/ca/agent/ca/ProfileReview.template | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/dogtag/ca-ui/shared/webapps/ca/agent/ca/ProfileReview.template b/dogtag/ca-ui/shared/webapps/ca/agent/ca/ProfileReview.template index b89e995..8e9d3d3 100644 --- a/dogtag/ca-ui/shared/webapps/ca/agent/ca/ProfileReview.template +++ b/dogtag/ca-ui/shared/webapps/ca/agent/ca/ProfileReview.template @@ -232,19 +232,23 @@ document.writeln(''); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln(inputListSet[i].inputName); document.writeln(''); document.writeln(''); document.writeln(''); -document.writeln(''); - document.writeln(addEscapes(inputListSet[i].inputVal)); -document.writeln(''); + if (inputListSet[i].inputSyntax == 'cert_request' || inputListSet[i].inputSyntax == 'keygen_request' || inputListSet[i].inputSyntax == 'dual_keygen_request') { + document.writeln('
' + addEscapes(inputListSet[i].inputVal) + '
'); + } else { + document.writeln(''); + document.writeln(addEscapes(inputListSet[i].inputVal)); + document.writeln(''); + } document.writeln(''); document.writeln(''); } document.writeln(''); document.writeln('

'); } if (requestStatus == 'complete') { document.writeln('
Certificate Profile Outputs
'); -- 1.7.3.4