Show use of conditionals to avoid excess ugliness.
authorcantor <cantor@cb58f699-b61c-0410-a6fe-9272a202ed29>
Wed, 28 Apr 2004 20:06:17 +0000 (20:06 +0000)
committercantor <cantor@cb58f699-b61c-0410-a6fe-9272a202ed29>
Wed, 28 Apr 2004 20:06:17 +0000 (20:06 +0000)
git-svn-id: https://svn.middleware.georgetown.edu/cpp-sp/trunk@1071 cb58f699-b61c-0410-a6fe-9272a202ed29

configs/shireError.html

index fa0c8b7..1403574 100644 (file)
@@ -5,13 +5,13 @@
        
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 <head>
-       <link rel="stylesheet" type="text/css" href="<shibmlp styleSheet />" />
+       <link rel="stylesheet" type="text/css" href="<shibmlp styleSheet/>" />
        <title>Access System Failure</title>
 </head>
 
 <body>
 <div class="head">
-<img src="<shibmlp logoLocation />" alt="Logo" />
+<img src="<shibmlp logoLocation/>" alt="Logo" />
 <h1>Inter-institutional Access System Failure</h1>
 </div>
 
 <shibmlp now /><br>
 <shibmlp errorDesc /></p>
 
-<p>If the error is a target error, please contact the administrator at
-<a href="mailto:<shibmlp supportContact />"><shibmlp supportContact /></a>.
-<br>If the error is an origin error, please contact your site administrator,
-<shibmlp originContactName />, at <a href="mailto:<shibmlp originContactEmail />">
-<shibmlp originContactEmail /></a>.
-<br>If you need more help, you can try your helpdesk at
-<a href="<shibmlp originErrorURL />"><shibmlp originErrorURL /></a>.
-
-<p>Please include the following error message in your email:</p>
-
-<p class="error">SHIRE failure at (<shibmlp requestURL />)</p>
-
-<p><shibmlp errorType/>: <shibmlp errorText /></p>
-
+<p>
+<shibmlpif originContactName>
+If the error reports itself as a problem with your identity provider,
+please contact your site's administrator, <shibmlp originContactName/>,
+at <a href="mailto:<shibmlp originContactEmail/>"><shibmlp originContactEmail/></a>.
+</shibmlpif>
+
+<shibmlpif originErrorURL>
+<br>If you need more assistance, you can try your helpdesk at
+<a href="<shibmlp originErrorURL/>"><shibmlp originErrorURL/></a>.
+</shibmlpif>
+</p>
+
+<p>Otherwise, please contact the application's administrator at
+<a href="mailto:<shibmlp supportContact/>"><shibmlp supportContact/></a>.</p>
+
+<p>Please include the following error message in any email:</p>
+<p class="error">SHIRE failure at (<shibmlp requestURL/>)</p>
+<p><shibmlp errorType/>: <shibmlp errorText/></p>
 
 </body>
 </html>