changeset 50:6759030ef45b

remove notification of unknown titles in public codex display.
author casties
date Thu, 16 Jul 2015 09:52:15 +0000
parents 0c6aec6f2716
children 8efabe84b7ea
files src/main/webapp/public/publicCodex.jsp
diffstat 1 files changed, 7 insertions(+), 17 deletions(-) [+]
line wrap: on
line diff
--- a/src/main/webapp/public/publicCodex.jsp	Wed Jul 15 06:09:34 2015 +0000
+++ b/src/main/webapp/public/publicCodex.jsp	Thu Jul 16 09:52:15 2015 +0000
@@ -237,12 +237,13 @@
 	<div class="magnifiedAttributePanel">
 	</div>
 	 -->
-	<c:if test="${!(codexPage.getDigiLabel()eq'Landberg_221')
-				and !(codexPage.getDigiLabel()eq'Landberg_493')
-				and !(codexPage.getDigiLabel()eq'Ms_or_fol_256')
-				and !(codexPage.getDigiLabel()eq'Ms_or_oct_275')
-				and !(codexPage.getDigiLabel()eq'Ms_or_quart_559')}">
-		<form method="GET" action='https://images.rasi.mcgill.ca/pdfs/${codexPage.getDigiLabel()}.pdf'>
+	<c:set var="digiLabel" value="${codexPage.getDigiLabel()}"/>
+	<c:if test="${!(digiLabel eq 'Landberg_221')
+				and !(digiLabel eq 'Landberg_493')
+				and !(digiLabel eq 'Ms_or_fol_256')
+				and !(digiLabel eq 'Ms_or_oct_275')
+				and !(digiLabel eq 'Ms_or_quart_559')}">
+		<form method="GET" action='https://images.rasi.mcgill.ca/pdfs/${digiLabel}.pdf'>
 			<button type="submit" style="font-size: 12; float: right; width: 100px; margin-right: 33px; margin-top: -10px;">Download PDF</button>
 		</form>
 	</c:if>
@@ -309,17 +310,6 @@
 								</table>															
 							</c:if>
 							
-							<c:if test="${codexPage.getUnknownList().size() > 0}">
-								<h4>Unknown titles in this Codex</h4>
-								<c:forEach var="witness" items="${codexPage.getUnknownList()}">
-									<a class="go-to-witness-link" data-witness-id="${witness.id}" data-start="${witness.startPage}" href="#">
-										<c:out value="${witness.folios}"/>
-									</a>
-								</c:forEach>
-								<br>
-							</c:if>
-							
-						
 							<div id="additional-information" style="overflow-x: auto;">
 							</div>