Commit f2076152 authored by Gradl, Tobias's avatar Gradl, Tobias
Browse files

1295: Prepare release of v3.7

Task-Url: https://pm.winseda.de/issues/1295
parent b593f70f
......@@ -3,38 +3,34 @@
<%@ taglib prefix="s" uri="http://www.springframework.org/tags" %>
<c:if test="${fn:length(images)>0}">
<div id="item-images-container" class="col-12 col-md-5 col-lg-4 col-xl-3">
<div id="item-images">
<!-- h3 style="text-align: center;"><s:message code="~eu.dariah.de.minfba.search.view.item.preview" /></h3> -->
<div id="carousel-item-images" class="carousel slide" style="margin: 0 auto;" data-ride="carousel" data-interval="false">
<!-- Wrapper for slides -->
<div class="carousel-inner">
<c:forEach items="${images}" var="image" varStatus="status">
<div class="carousel-item${status.index==0 ? ' active' : ''}">
<!-- <img src="<s:url value="/cachedimages/${collection.id}/${endpointId}/${datamodel.id}?i=${image.value}&type=DISPLAY" />">-->
<a href="<s:url value="/cachedimages/${collection.id}/${endpointId}/${datamodel.id}?i=${image.value}&type=DISPLAY" />" data-gall="item-image" class="venobox">
<div class="item-image" style="background-image: url(<s:url value="/cachedimages/${collection.id}/${endpointId}/${datamodel.id}?i=${image.value}&type=DISPLAY" />);"></div>
</a>
<div class="preview-image-label">${status.index+1} / ${fn:length(images)}</div>
</div>
</c:forEach>
</div>
<!-- Controls -->
<a class="carousel-control-prev${fn:length(images)==1 ? ' hide' : ''}" href="#carousel-item-images" role="button" data-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="carousel-control-next${fn:length(images)==1 ? ' hide' : ''}" href="#carousel-item-images" role="button" data-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
<h2><s:message code="~eu.dariah.de.minfba.search.view.item.preview" /></h2>
<div id="item-images" class="carousel slide" data-ride="carousel" data-interval="false">
<c:forEach items="${images}" var="image" varStatus="status">
<div class="carousel-item${status.index==0 ? ' active' : ''}">
<!-- <img src="<s:url value="/cachedimages/${collection.id}/${endpointId}/${datamodel.id}?i=${image.value}&type=DISPLAY" />">-->
<a href="<s:url value="/cachedimages/${collection.id}/${endpointId}/${datamodel.id}?i=${image.value}&type=DISPLAY" />" data-gall="item-image" class="venobox">
<img class="item-image" src="<s:url value="/cachedimages/${collection.id}/${endpointId}/${datamodel.id}?i=${image.value}&type=DISPLAY" />">
</a>
</div>
</div>
<div class="preview-image-label">${status.index+1} / ${fn:length(images)}</div>
</c:forEach>
<!-- Controls -->
<a class="carousel-control-prev${fn:length(images)==1 ? ' hide' : ''}" href="#carousel-item-images" role="button" data-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="carousel-control-next${fn:length(images)==1 ? ' hide' : ''}" href="#carousel-item-images" role="button" data-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>
</c:if>
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