Skip to content

Commit

Permalink
Merge pull request #394 from UNC-Libraries/container-thumbnail-link
Browse files Browse the repository at this point in the history
Fix thumbnail links to front page
  • Loading branch information
bbpennel committed Oct 14, 2015
2 parents ce9179b + de89f9b commit 466502f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions access/src/main/webapp/WEB-INF/jsp/common/thumbnail.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@
<c:when test="${param.target == 'list'}">
<c:out value="list/${thumbnailObject.id}" />
</c:when>
<c:otherwise>
<c:out value="record/${thumbnailObject.id}" />
</c:otherwise>
</c:choose>
</c:set>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
<div class="contentarea">
<c:set var="thumbnailObject" value="${briefObject}" scope="request" />
<c:import url="common/thumbnail.jsp">
<c:param name="target" value="record" />
<c:param name="size" value="large" />
</c:import>
<c:if test="${cdr:hasAccess(accessGroupSet, briefObject, 'editDescription')}">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
<div class="contentarea">
<c:set var="thumbnailObject" value="${briefObject}" scope="request" />
<c:import url="common/thumbnail.jsp">
<c:param name="target" value="record" />
<c:param name="size" value="large" />
</c:import>

Expand Down

0 comments on commit 466502f

Please sign in to comment.