-
Notifications
You must be signed in to change notification settings - Fork 501
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#6634 fix GB preview and Thumbnail popups
- Loading branch information
Showing
4 changed files
with
132 additions
and
107 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
<ui:composition xmlns="http://www.w3.org/1999/xhtml" | ||
xmlns:h="http://java.sun.com/jsf/html" | ||
xmlns:f="http://java.sun.com/jsf/core" | ||
xmlns:ui="http://java.sun.com/jsf/facelets" | ||
xmlns:c="http://java.sun.com/jsp/jstl/core" | ||
xmlns:p="http://primefaces.org/ui" | ||
xmlns:o="http://omnifaces.org/ui" | ||
xmlns:jsf="http://xmlns.jcp.org/jsf" | ||
xmlns:iqbs="http://xmlns.jcp.org/jsf/composite/iqbs"> | ||
|
||
|
||
<o:importFunctions type="edu.harvard.iq.dataverse.util.MarkupChecker" /> | ||
<p:focus context="downloadPopup"/> | ||
<p class="help-block"> | ||
#{bundle['file.downloadDialog.tip']} | ||
</p> | ||
|
||
<div class="form-horizontal"> | ||
<p class="help-block"> | ||
#{bundle['dataset.manageGuestbooks.tab.action.btn.view.dialog.datasetGuestbook.title']} | ||
</p> | ||
<div class="form-group"> | ||
<label class="col-sm-3 control-label"> | ||
#{bundle['dataset.manageGuestbooks.tab.action.btn.view.dialog.datasetGuestbook']} | ||
</label> | ||
<div class="col-sm-8"> | ||
<p class="form-control-static"> | ||
#{DatasetPage.selectedGuestbook.name} | ||
</p> | ||
</div> | ||
</div> | ||
<div class="form-group"> | ||
<label class="col-sm-3 control-label"> | ||
#{bundle['dataset.manageGuestbooks.tab.action.btn.view.dialog.userCollectedData']} | ||
<span class="glyphicon glyphicon-question-sign tooltip-icon" | ||
data-toggle="tooltip" data-placement="auto right" data-original-title="#{bundle['dataset.manageGuestbooks.tab.action.btn.view.dialog.userCollectedData.title']}"></span> | ||
</label> | ||
<div class="col-sm-8"> | ||
<p class="form-control-static"> | ||
<h:outputText value="#{bundle['dataset.manageGuestbooks.guestbook.accountInformation']}"/> | ||
<ul> | ||
<ui:repeat value="#{DatasetPage.selectedGuestbook.requiredAccountInformation}" var="ai"> | ||
<li> | ||
<h:outputText value="#{ai} #{bundle['dataset.manageGuestbooks.guestbook.required']}"/> | ||
</li> | ||
</ui:repeat> | ||
<ui:repeat value="#{DatasetPage.selectedGuestbook.optionalAccountInformation}" var="ai"> | ||
<li> | ||
<h:outputText value="#{ai} #{bundle['dataset.manageGuestbooks.guestbook.optional']}"/> | ||
</li> | ||
</ui:repeat> | ||
</ul> | ||
</p> | ||
|
||
<ui:fragment rendered="#{!empty DatasetPage.selectedGuestbook.requiredQuestionsList or !empty DatasetPage.selectedGuestbook.optionalQuestionsList}"> | ||
<p class="form-control-static"> | ||
<h:outputText value="#{bundle['dataset.manageGuestbooks.guestbook.customQuestions']}"/> | ||
<ul> | ||
<ui:repeat value="#{DatasetPage.selectedGuestbook.requiredQuestionsList}" var="q"> | ||
<li> | ||
<h:outputText value="#{q} #{bundle['dataset.manageGuestbooks.guestbook.required']}"/> | ||
</li> | ||
</ui:repeat> | ||
<ui:repeat value="#{DatasetPage.selectedGuestbook.optionalQuestionsList}" var="q"> | ||
<li> | ||
<h:outputText value="#{q} #{bundle['dataset.manageGuestbooks.guestbook.optional']}"/> | ||
</li> | ||
</ui:repeat> | ||
</ul> | ||
</p> | ||
</ui:fragment> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="button-block"> | ||
<button class="btn btn-default" onclick="PF('viewGuestbook').hide()" type="button"> | ||
#{bundle.close} | ||
</button> | ||
</div> | ||
</ui:composition> |