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 @@
</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>
<div class="row">
<div class="col-12">
<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 id="item-detail-errors-container" class="collapse">
<div class="item-dataset-container">
<ul>
<c:forEach items="${item.errors}" var="error">
<li>${error}</li>
</c:forEach>
</ul>
<c:if test="${item.errors!=null && fn:length(item.errors)>0}">
<div class="row">
<div class="col-12">
<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 id="item-detail-errors-container" class="collapse">
<div class="item-dataset-container">
<ul>
<c:forEach items="${item.errors}" var="error">
<li>${error}</li>
</c:forEach>
</ul>
</div>
</div>
</div>
</div>
</div>
</c:if>
<div class="row mt-2">
<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>
......
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