Mercurial > hg > ismi-richfaces
diff src/main/webapp/imageServer/displayDigi.jsp @ 38:d3c2ef4eaf6a
Temporary Fix: Launch PDFs
Fixed: Download png resized
Hackjob fix for having only the launch PDFs have the Download PDF button visible. [note: will remove the 8 PDFs on the to-do list].
Download.png resized for possible future use in diva toolbar
Signed-off-by: Alistair-Russell <russell.alistair@gmail.com>
author | arussell |
---|---|
date | Fri, 12 Jun 2015 23:13:12 +0000 |
parents | a3bf915b62fe |
children | 464224060150 |
line wrap: on
line diff
--- a/src/main/webapp/imageServer/displayDigi.jsp Wed Jun 10 15:05:03 2015 +0000 +++ b/src/main/webapp/imageServer/displayDigi.jsp Fri Jun 12 23:13:12 2015 +0000 @@ -208,10 +208,17 @@ <body bgcolor=white> <jsp:include page="header.jsp" /> - <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> - + <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'> + <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"> <div class="row-fluid">