Commit 0f35ee5b authored by Gradl, Tobias's avatar Gradl, Tobias
Browse files

1128: Fix minor bugs for current release

Task-Url: https://pm.winseda.de/issues/1128
parent 9d33581d
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<c:set var="ep_status" value="ok" /> <c:set var="ep_status" value="ok" />
<c:set var="ep_icon" value="check" /> <c:set var="ep_icon" value="check" />
<c:set var="ep_state_message" value="~eu.dariah.de.minfba.search.states.ok" /> <c:set var="ep_state_message" value="~eu.dariah.de.minfba.search.states.endpoint.accessible" />
<c:choose> <c:choose>
<c:when test="${ep.error}"> <c:when test="${ep.error}">
<c:set var="ep_status" value="error" /> <c:set var="ep_status" value="error" />
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
<c:set var="ds_status" value="ok" /> <c:set var="ds_status" value="ok" />
<c:set var="ds_icon" value="check" /> <c:set var="ds_icon" value="check" />
<c:set var="ds_state_message" value="~eu.dariah.de.minfba.common.status.loading" /> <c:set var="ds_state_message" value="~eu.dariah.de.minfba.search.states.ok" />
<c:choose> <c:choose>
<c:when test="${ds.errorLock}"> <c:when test="${ds.errorLock}">
<c:set var="ds_status" value="error" /> <c:set var="ds_status" value="error" />
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
<c:when test="${ds.warning}"> <c:when test="${ds.warning}">
<c:set var="ds_status" value="warning" /> <c:set var="ds_status" value="warning" />
<c:set var="ds_icon" value="exclamation" /> <c:set var="ds_icon" value="exclamation" />
<c:set var="ds_state_message" value="~eu.dariah.de.minfba.search.states.dataset.warning" /> <c:set var="ds_state_message" value="~eu.dariah.de.minfba.search.states.dataset.outdated" />
</c:when> </c:when>
<c:when test="${ds.processing}"> <c:when test="${ds.processing}">
<c:set var="ds_status" value="info" /> <c:set var="ds_status" value="info" />
...@@ -55,6 +55,11 @@ ...@@ -55,6 +55,11 @@
<c:set var="ds_icon" value="clock-o" /> <c:set var="ds_icon" value="clock-o" />
<c:set var="ds_state_message" value="~eu.dariah.de.minfba.search.states.dataset.waiting" /> <c:set var="ds_state_message" value="~eu.dariah.de.minfba.search.states.dataset.waiting" />
</c:when> </c:when>
<c:when test="${ds.docs==0}">
<c:set var="ds_status" value="info" />
<c:set var="ds_icon" value="question" />
<c:set var="ds_state_message" value="~eu.dariah.de.minfba.search.states.dataset.unprocessed" />
</c:when>
</c:choose> </c:choose>
<div id="table-details${ep.id}-${ds.id}" class="table-light-details row"> <div id="table-details${ep.id}-${ds.id}" class="table-light-details row">
......
Supports Markdown
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