NIHVIVO-336 Give the error/warning page a 500 status; make it persistent on errors; dont't show the continue link on errors.

This commit is contained in:
j2blake 2011-09-26 18:24:12 +00:00
parent 17334653cf
commit c7899805e8
2 changed files with 33 additions and 17 deletions

View file

@ -80,7 +80,9 @@
<#if status.errorItems?has_content>
<h2>Fatal error</h2>
<p>VIVO detected a fatal error during startup.</p>
<p><a href=".">Continue</a></p>
<#if showLink>
<p><a href=".">Continue</a></p>
</#if>
<#list status.errorItems as item>
<@statusItem item=item />
</#list>
@ -89,7 +91,9 @@
<#if status.warningItems?has_content>
<h2>Warning</h2>
<p>VIVO issued warnings during startup.</p>
<p><a href=".">Continue</a></p>
<#if showLink>
<p><a href=".">Continue</a></p>
</#if>
<#list status.warningItems as item>
<@statusItem item=item />
</#list>