diff src/main/webapp/imageServer/displayDigi.jsp @ 42:72b58ef8b9ae

Fixed: PDF Button Signed-off-by: Alistair-Russell <russell.alistair@gmail.com>
author arussell
date Fri, 10 Jul 2015 15:13:04 +0000
parents 464224060150
children f2c1e5be355c
line wrap: on
line diff
--- a/src/main/webapp/imageServer/displayDigi.jsp	Thu Jul 02 21:26:32 2015 +0000
+++ b/src/main/webapp/imageServer/displayDigi.jsp	Fri Jul 10 15:13:04 2015 +0000
@@ -208,17 +208,11 @@
 <body bgcolor=white>
 
 	<jsp:include page="header.jsp" />
-	<c:if test="${digiBean.getDigiLabel().substring(0,6) == 'Glaser'||
-		digiBean.getDigiLabel().substring(0,6) == 'Landbe'||
-		digiBean.getDigiLabel().substring(0,6) == 'Minuto'||
-		digiBean.getDigiLabel().substring(0,6) == 'Ms_or_'||
-		digiBean.getDigiLabel().substring(0,6) == 'Peterm'||
-		digiBean.getDigiLabel().substring(0,6) == 'Spreng'||
-		digiBean.getDigiLabel().substring(0,6) == 'Wetzst'}">
-		<form method="GET" action='https://images.rasi.mcgill.ca/pdfs/${digiBean.getDigiLabel()}.pdf'>
-			<input type="button" style="font-size: 12; float: right; width: 100px; margin-right: 33px; margin-top: -10px;">Download PDF</input>
-		</form>
-	</c:if>
+
+	<form method="GET" action='https://images.rasi.mcgill.ca/pdfs/${digiBean.getDigiLabel()}.pdf'>
+		<button type="submit" style="font-size: 12; float: right; width: 100px; margin-right: 33px; margin-top: -10px;">Download PDF</button>
+	</form>
+
 	<div class="custom-container">
 
 		<div class="row-fluid">