Commit 1009130f authored by Gradl, Tobias's avatar Gradl, Tobias
Browse files

1294: Render es mappings based on resources only

Task-Url: https://pm.winseda.de/issues/1294
parent 5cff5dbd
......@@ -13,11 +13,19 @@
<div class="col-12 ${fn:length(images)>0 ? 'col-md-7 col-lg-8 col-xl-9' : ''}">
<h3 id="item-detail-collection">${collectionName}</h3>
<h1 id="item-detail-resource">
<c:choose>
<c:when test="${titles==null || fn:length(images)==0}">
<s:message code="~eu.dariah.de.minfba.search.view.result.no_title" />
</c:when>
<c:otherwise>
<c:forEach items="${titles}" var="title">
${fn:replace(title.value, newLineChar, "<br />")}
</c:forEach><br />
</c:otherwise>
</c:choose>
</h1>
<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">
<c:forEach items="${links}" var="link">
......@@ -45,6 +53,7 @@
<li><span class="item-detail-linklist-label">${linkType}</span><span class="item-detail-linklist-url">${linkUrl}</span></li>
</c:forEach>
</ul>
</c:if>
</div>
<c:if test="${fn:length(images)>0}">
......
Supports Markdown
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