Merge from branch: NIHVIVO-3930 Add logic to the template: if totalToDo is 0, we are still preparing the list of records to index. Don't show the counts, or an estimated time.

This commit is contained in:
j2blake 2012-09-25 20:35:32 +00:00
parent 88e44af429
commit eb1d4b9631

View file

@ -17,6 +17,9 @@
Reset the search index and re-populate it.
</p>
</form>
<#elseif totalToDo == 0>
<h3>Preparing to rebuild the search index. </h3>
<p>since ${since?string("hh:mm:ss a, MMMM dd, yyyy")}, elapsed time ${elapsed}</p>
<#else>
<h3>The search index is currently being ${currentTask}.</h3>
<p>since ${since?string("hh:mm:ss a, MMMM dd, yyyy")}, elapsed time ${elapsed}, estimated total time ${expected}</p>