diff src/main/webapp/search/displayTitle.xhtml @ 77:985dcecba904

"show scans" link and indicator for all witnesses with digitalization (no check for public).
author casties
date Tue, 28 Jun 2016 16:18:49 -0400
parents a58e6b2fb87f
children 579839a2e3e2
line wrap: on
line diff
--- a/src/main/webapp/search/displayTitle.xhtml	Tue Jun 28 11:43:48 2016 -0400
+++ b/src/main/webapp/search/displayTitle.xhtml	Tue Jun 28 16:18:49 2016 -0400
@@ -281,6 +281,14 @@
 							</h:dataTable>
 						</h:panelGrid>
 
+                        <h:outputText value="Scans" />
+                        <h:outputLink rendered="#{!empty Session.displayTitle.witness.scanViewer}"
+                            value="#{request.contextPath}#{Session.displayTitle.witness.scanViewer}"
+                            target="_blank">
+                            See witness scans
+                        </h:outputLink>
+                        <h:outputText rendered="#{empty Session.displayTitle.witness.scanViewer}"/>
+
 						<h:outputText value="Notes" />
 						<h:outputText value="#{Session.displayTitle.witness.notes}" />