Commit 6b68c5c6 authored by Gradl, Tobias's avatar Gradl, Tobias
Browse files

1315: Download button for MWW instance (iframe based)

Task-Url: https://pm.winseda.de/issues/1315
parent 1797a056
......@@ -76,17 +76,13 @@
</c:forEach>
</ul>
</c:if>
<h2>~ Download options</h2>
<button type="button" onclick="resultItem.downloadData('xml', 'original');" class="btn btn-primary">~ Download original xml</button>
<button type="button" onclick="resultItem.downloadData('xml', 'integrations');" class="btn btn-primary">~ Download mmm xml</button>
<h2><s:message code="~eu.dariah.de.minfba.search.view.item.additional_data" /></h2>
<div class="row">
<div class="col-12">
<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>
<button type="button" onclick="resultItem.downloadData('xml', '_integrations');" class="btn btn-link btn-download hide"></button>
<div id="item-detail-integrated-container" class="collapse">
<div id="item-detail-integrated" class="item-dataset-container"></div>
</div>
......@@ -96,6 +92,7 @@
<div class="row mt-2">
<div class="col-12">
<button type="button" onclick="resultItem.loadOriginalData(this);" class="btn btn-primary-var-2"><s:message code="~eu.dariah.de.minfba.search.view.item.original_dataset" /> <i class="fas fa-lg fa-chevron-circle-down"></i></button>
<button type="button" onclick="resultItem.downloadData('xml', '_content');" class="btn btn-link btn-download hide"></button>
<div id="item-detail-dataset-container" class="collapse">
<div id="item-detail-dataset" class="item-dataset-container"></div>
</div>
......@@ -143,7 +140,7 @@
</div>
<div class="col-12 col-md-5 col-lg-4 col-xl-3">
<%@ include file="incl/images.jsp" %>
<%@ include file="incl/images.jsp" %>
<h2><s:message code="~eu.dariah.de.minfba.metamodel.collection" /></h2>
<div class="item-collection-image collection-image">
......
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