Mercurial > hg > ismi-richfaces
changeset 74:a58e6b2fb87f
move "witnesses with scans" button.
author | casties |
---|---|
date | Thu, 07 Jan 2016 16:26:48 +0100 |
parents | ebd008b2e6ba |
children | 43648d7fc515 |
files | src/main/webapp/search/displayAuthor.xhtml src/main/webapp/search/displayTitle.xhtml |
diffstat | 2 files changed, 19 insertions(+), 18 deletions(-) [+] |
line wrap: on
line diff
--- a/src/main/webapp/search/displayAuthor.xhtml Tue Dec 22 20:18:05 2015 +0100 +++ b/src/main/webapp/search/displayAuthor.xhtml Thu Jan 07 16:26:48 2016 +0100 @@ -287,10 +287,18 @@ action="#{Session.displayAuthor.actionEditTitle}" rendered="#{Session.canEdit}" /> - <!-- no WITNESS --> - <h:outputText value="No known witnesses" - rendered="#{empty Session.displayAuthor.witnessItems}" - styleClass="titlePanel" /> + <!-- WITNESS with scans --> + <h:panelGrid columns="3"> + <h:selectBooleanCheckbox value="#{Session.displayAuthor.showWitnessesWithScans}"/> + <h:outputText value="Show only witnesses with scans"/> + <h:commandButton value="Change" + action="#{Session.displayAuthor.changeShowWitnessesWithScans}"/> + </h:panelGrid> + + <!-- no WITNESS --> + <h:outputText value="No known witnesses" + rendered="#{empty Session.displayAuthor.witnessItems}" + styleClass="titlePanel" /> <!-- WITNESS --> <h:panelGrid id="witnessesPanel" style="width:100%;" rendered="#{!empty Session.displayAuthor.witnessItems}"> @@ -300,13 +308,6 @@ rendered="#{!empty Session.displayAuthor.witnessItems}" styleClass="titlePanel" /> - <h:panelGrid columns="3"> - <h:selectBooleanCheckbox value="#{Session.displayAuthor.showWitnessesWithScans}"/> - <h:outputText value="Show only witnesses with scans"/> - <h:commandButton value="Change" - action="#{Session.displayAuthor.changeShowWitnessesWithScans}"/> - </h:panelGrid> - <h:panelGrid columns="1" rendered="#{(!empty Session.displayAuthor.witnessItems) and Session.user != null}"> <h:commandLink value="Make all public"
--- a/src/main/webapp/search/displayTitle.xhtml Tue Dec 22 20:18:05 2015 +0100 +++ b/src/main/webapp/search/displayTitle.xhtml Thu Jan 07 16:26:48 2016 +0100 @@ -147,6 +147,13 @@ </h:panelGrid> + <h:panelGrid columns="3"> + <h:selectBooleanCheckbox value="#{Session.displayTitle.showWitnessesWithScans}"/> + <h:outputText value="Show only witnesses with scans"/> + <h:commandButton value="Change" + action="#{Session.displayTitle.changeShowWitnessesWithScans}"/> + </h:panelGrid> + <!-- no WITNESS --> <h:outputText value="No known witnesses" rendered="#{empty Session.displayTitle.witnessItems}" @@ -160,13 +167,6 @@ rendered="#{!empty Session.displayTitle.witnessItems}" styleClass="titlePanel" /> - <h:panelGrid columns="3"> - <h:selectBooleanCheckbox value="#{Session.displayTitle.showWitnessesWithScans}"/> - <h:outputText value="Show only witnesses with scans"/> - <h:commandButton value="Change" - action="#{Session.displayTitle.changeShowWitnessesWithScans}"/> - </h:panelGrid> - <h:panelGrid columns="1" rendered="#{(!empty Session.displayTitle.witnessItems) and Session.user != null}"> <h:commandLink value="Make all public"