Commits (1)
......@@ -144,11 +144,10 @@
</c:if>
<c:if test="${secondaryInfo!=null && fn:length(secondaryInfo)>0}">
<div id='secondary-info-container' style="margin-top: -1em; margin-bottom: 2em;">
<button id="btn-collapse-secondary-info" class="btn btn-inline collapsed" type="button" data-toggle="collapse" data-target="#collapseSecondaryInfo" aria-expanded="false" aria-controls="collapseSecondaryInfo">
<s:message code="~eu.dariah.de.minfba.search.view.result.further_metadata" />
<div id='secondary-info-container' style="${contentElements!=null && fn:length(contentElements)>0 ? 'margin-top: -1em; ' : ''}margin-bottom: 2em;">
<h2 id="btn-collapse-secondary-info" class="collapsed" data-toggle="collapse" data-target="#collapseSecondaryInfo" aria-expanded="false" style="cursor: pointer;" aria-controls="collapseSecondaryInfo"><s:message code="~eu.dariah.de.minfba.search.view.result.further_metadata" />
<i class="fas fa-chevron-down"></i>
</button>
</h2>
<div class="collapse" id="collapseSecondaryInfo">
<c:forEach var="secInfo" items="${secondaryInfo}">
<c:if test="${secInfo.childResources!=null}">
......
......@@ -16,7 +16,7 @@
<ul id="search-available-collections" class="hide">
<c:forEach items="${datasources}" var="ds">
<li class="search-available-collection" id="search-available-collection-${ds.id}" style="cursor: pointer;" onclick="search.sourceSelection.setSelectedSourceIds(['${ds.id}']);"><span class="search-available-collection-doccount"></span> ${ds.name}</li>
<li class="search-available-collection" id="search-available-collection-${ds.id}" style="cursor: pointer;" onclick="search.sourceSelection.searchSelectedSourceIds(['${ds.id}']);"><span class="search-available-collection-doccount"></span> ${ds.name}</li>
</c:forEach>
</ul>
<div id="search-more-available-collections" class="hide text-center">
......