Commit 9609dd21 authored by Gradl, Tobias's avatar Gradl, Tobias
Browse files

1329: Hide unavailable dataset views

Task-Url: https://pm.winseda.de/issues/1329
parent 0dc0b39f
...@@ -79,15 +79,17 @@ ...@@ -79,15 +79,17 @@
<h2><s:message code="~eu.dariah.de.minfba.search.view.item.additional_data" /></h2> <h2><s:message code="~eu.dariah.de.minfba.search.view.item.additional_data" /></h2>
<div class="row"> <c:if test="${item.integration!=null}">
<div class="col-12"> <div class="row">
<button type="button" onclick="resultItem.loadIntegratedData(this);" class="btn btn-primary-var-2"><s:message code="~eu.dariah.de.minfba.search.view.item.integrated_dataset" /> <i class="fas fa-lg fa-chevron-circle-down"></i></button> <div class="col-12">
<button type="button" onclick="resultItem.downloadData('xml', '_integrations');" class="btn btn-link btn-download hide"></button> <button type="button" onclick="resultItem.loadIntegratedData(this);" class="btn btn-primary-var-2"><s:message code="~eu.dariah.de.minfba.search.view.item.integrated_dataset" /> <i class="fas fa-lg fa-chevron-circle-down"></i></button>
<div id="item-detail-integrated-container" class="collapse"> <button type="button" onclick="resultItem.downloadData('xml', '_integrations');" class="btn btn-link btn-download hide"></button>
<div id="item-detail-integrated" class="item-dataset-container"></div> <div id="item-detail-integrated-container" class="collapse">
<div id="item-detail-integrated" class="item-dataset-container"></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">
......
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