Commit bb36289e authored by Gradl, Tobias's avatar Gradl, Tobias
Browse files

1120: Allow cancellation of running crawls

Task-Url: https://pm.winseda.de/issues/1120
parent bdde11a5
......@@ -46,7 +46,7 @@
</div>
</th>
<td <c:if test="${crawl.offline}">colspan="2"</c:if>>
<td>
<ul class="inner-state-list">
<li>
......
......@@ -7,7 +7,7 @@
<c:choose>
<c:when test="${crawlState.state=='ACTIVE'}">
<strong><s:message code="~eu.dariah.de.minfba.search.crawling.pipeline.in_progress" /></strong>
<button type="button" onclick="editor.cancelCrawl('${crawl.id}', this);" class="btn btn-link pull-right"><i class="fa fa-ban fa-color-danger"></i> <s:message code="~eu.dariah.de.minfba.search.actions.crawls.cancel" /></button>
<button type="button" onclick="editor.cancelCrawl('${crawlId}', this);" class="btn btn-link pull-right"><i class="fa fa-ban fa-color-danger"></i> <s:message code="~eu.dariah.de.minfba.search.actions.crawls.cancel" /></button>
<ul class="inner-state-list" style="margin-top: 8px;">
<c:forEach begin="0" end="${crawlState.pipelineLength-1}" var="i">
<li>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment