changeset 49:0c6aec6f2716

Issue: Problem PDFs Ms or quart 559 Landberg 221 Landberg 493 Ms or fol 256 Ms or oct 275 Signed-off-by: Alistair-Russell <russell.alistair@gmail.com>
author arussell
date Wed, 15 Jul 2015 06:09:34 +0000
parents 950083eed940
children 6759030ef45b
files src/main/webapp/public/publicCodex.jsp
diffstat 1 files changed, 9 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/main/webapp/public/publicCodex.jsp	Wed Jul 15 05:20:19 2015 +0000
+++ b/src/main/webapp/public/publicCodex.jsp	Wed Jul 15 06:09:34 2015 +0000
@@ -237,10 +237,15 @@
 	<div class="magnifiedAttributePanel">
 	</div>
 	 -->
-
-	<form method="GET" action='https://images.rasi.mcgill.ca/pdfs/${codexPage.getDigiLabel()}.pdf'>
-		<button type="submit" style="font-size: 12; float: right; width: 100px; margin-right: 33px; margin-top: -10px;">Download PDF</button>
-	</form>
+	<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'>
+			<button type="submit" style="font-size: 12; float: right; width: 100px; margin-right: 33px; margin-top: -10px;">Download PDF</button>
+		</form>
+	</c:if>
 
 	<div class="custom-container">