VIVO-869 The display should not barf if no IndexHistory is present.

This commit is contained in:
Jim Blake 2015-01-20 16:09:53 -05:00
parent 83a5523ace
commit fcfd2e7be6
2 changed files with 13 additions and 6 deletions

View file

@ -40,9 +40,13 @@
<h3>History</h3>
<table class="history">
<tr> <th>Event</th> <th>Status</th> <th>Since</th> <th>Counts</th> </tr>
<#list history as ie>
<@showIndexerEvent ie />
</#list>
<#if history?has_content >
<#list history as ie>
<@showIndexerEvent ie />
</#list>
<#else>
<tr><td colspan="4">Search indexer history is not available.</td></tr>
</#if>
</table>
</section>