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:
parent
88e44af429
commit
eb1d4b9631
1 changed files with 3 additions and 0 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue