Commits (2)
<%@ page language="java" contentType="text/html;charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="s" uri="http://www.springframework.org/tags" %>
<div class="container<c:if test="${fluidLayout==true}">-fluid</c:if>">
......@@ -16,6 +17,10 @@
<th><s:message code="~eu.dariah.de.minfba.metamodel.common.id" /></th>
<td>${collection.id}</td>
</tr>
<tr>
<th><i class="fas fa-search"></i>
<td><a href='<s:url value="/search/simple/?q=*&sourceId=" />${collection.id}'><s:url value="/search/simple/?q=*&sourceId=" />${collection.id}</a></td>
</tr>
<tr>
<th><s:message code="~eu.dariah.de.minfba.metamodel.common.source" /></th>
<td><a title="<s:message code="~eu.dariah.de.minfba.search.actions.collections.show_in_cr" />" href="${collection.linkUrl}" target='_blank'>${collection.linkUrl} <i class="fa fa-external-link"></i></a></td>
......
......@@ -45,6 +45,14 @@
</c:choose>
</h1>
<c:if test="${keywords!=null && fn:length(keywords)>0}">
<div class="search-result-objects" style="margin-top: -1.5em; margin-bottom: 1.5em;">
<c:forEach items="${keywords}" var="keyword">
<span class="badge badge-primary">${keyword.value}</span>
</c:forEach>
</div>
</c:if>
<c:if test="${links!=null && fn:length(links)>0}">
<h2 class="item-detail-heading"><s:message code="~eu.dariah.de.minfba.search.view.item.links" /></h2>
<ul class="item-detail-linklist">
......@@ -89,13 +97,34 @@
</c:when>
<c:when test="${contentElement.key=='Video'}">
<c:forEach var="video" items="${contentElement.value}">
<div style="margin-bottom: 1em;"><video src="${video.value}">Sorry - Ihr Browser hat keine Unterstützung für dieses Video-Format.</audio></div>
<div style="margin-bottom: 1em;">
<video class="video-js" data-setup='{}'>
<source src="${video.value}" type='video/mp4' />
Sorry - Ihr Browser hat keine Unterstützung für dieses Video-Format.
</video>
</div>
</c:forEach>
</c:when>
<c:when test="${contentElement.key=='Info'}">
<c:forEach var="info" items="${contentElement.value}">
<div style="margin-bottom: 1em;">${info.value}</div>
</c:forEach>
<c:if test="${info.childResources!=null}">
<c:forEach items="${info.childResources}" var="infoProp">
<c:choose>
<c:when test="${infoProp.key=='Type'}">
<c:set var="infoType" value="${infoProp.value}" />
</c:when>
</c:choose>
</c:forEach>
</c:if>
<div style="margin-bottom: 1em;">
<small>
<c:if test="${fn:length(infoType)>0}">
<b>${infoType}</b>
</c:if>
${info.value}
</small>
</div>
</c:forEach>
</c:when>
<c:when test="${contentElement.key=='Frame'}">
<c:forEach var="frame" items="${contentElement.value}">
......@@ -113,6 +142,9 @@
</c:forEach>
</div>
</c:if>
<!--<c:if test="${highlights!=null && fn:length(highlights)>0}">
<div id='item-highlights'>
......
......@@ -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}"><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.setSelectedSourceIds(['${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">
......