Commit 5cff5dbd authored by Gradl, Tobias's avatar Gradl, Tobias
Browse files

1294: Render es mappings based on resources only

Task-Url: https://pm.winseda.de/issues/1294
parent b2247ca3
...@@ -111,23 +111,25 @@ ...@@ -111,23 +111,25 @@
</div> </div>
</div> </div>
<c:if test="${_auth.level >= 100 && item.errors!=null && fn:length(item.errors)>0}"> <c:if test="${_auth.level >= 100}">
<h2 class="mt-3"><s:message code="~eu.dariah.de.minfba.search.view.item.admin_data" /></h2> <h2 class="mt-3"><s:message code="~eu.dariah.de.minfba.search.view.item.admin_data" /></h2>
<div class="row"> <c:if test="${item.errors!=null && fn:length(item.errors)>0}">
<div class="col-12"> <div class="row">
<button type="button" onclick="resultItem.showErrors(this);" class="btn btn-primary-var-2"><s:message code="~eu.dariah.de.minfba.search.view.item.processing_hints" /> <i class="fas fa-lg fa-chevron-circle-down"></i></button> <div class="col-12">
<div id="item-detail-errors-container" class="collapse"> <button type="button" onclick="resultItem.showErrors(this);" class="btn btn-primary-var-2"><s:message code="~eu.dariah.de.minfba.search.view.item.processing_hints" /> <i class="fas fa-lg fa-chevron-circle-down"></i></button>
<div class="item-dataset-container"> <div id="item-detail-errors-container" class="collapse">
<ul> <div class="item-dataset-container">
<c:forEach items="${item.errors}" var="error"> <ul>
<li>${error}</li> <c:forEach items="${item.errors}" var="error">
</c:forEach> <li>${error}</li>
</ul> </c:forEach>
</ul>
</div>
</div> </div>
</div> </div>
</div> </div>
</div> </c:if>
<div class="row mt-2"> <div class="row mt-2">
<div class="col-12"> <div class="col-12">
<button type="button" onclick="resultItem.loadMetadata(this);" class="btn btn-primary-var-2"><s:message code="~eu.dariah.de.minfba.search.view.item.admin_metadata" /> <i class="fas fa-lg fa-chevron-circle-down"></i></button> <button type="button" onclick="resultItem.loadMetadata(this);" class="btn btn-primary-var-2"><s:message code="~eu.dariah.de.minfba.search.view.item.admin_metadata" /> <i class="fas fa-lg fa-chevron-circle-down"></i></button>
......
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