Skip to content

Commit

Permalink
#7714 update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
sekmiller committed May 3, 2021
1 parent 5a1160d commit 56a7b63
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/main/webapp/dataset.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@
<li class="dropdown-header">#{bundle['dataset.accessBtn.header.download']} <span class="glyphicon glyphicon-download-alt"/></li>
<!-- NORMAL DOWNLOAD BUTTON (NO TABULAR FILES) -->
<li jsf:rendered="#{!DatasetPage.versionHasTabular}">
<p:commandLink update="@form" actionListener="#{DatasetPage.startDownloadAllArchival()}" styleClass="btn-download"
<p:commandLink update="@form" actionListener="#{DatasetPage.startDownloadAllOriginal()}" styleClass="btn-download"
oncomplete="bind_bsui_components();showPopup();">
#{bundle.download}
<h:outputFormat value="#{bundle['dataset.accessBtn.download.size']}">
Expand All @@ -161,8 +161,9 @@
</p:commandLink>
</li>

<!-- DOWNLOAD ORIGINAL BUTTON (TABULAR FILES PRESENT) -->
<!-- DOWNLOAD Options (TABULAR FILES PRESENT) -->
<ui:fragment rendered="#{DatasetPage.versionHasTabular}">
<!-- DOWNLOAD ORIGINAL BUTTON (TABULAR FILES PRESENT) -->
<li jsf:rendered="#{ DatasetPage.sizeOfDatasetOrig != '0 B' and !(DatasetPage.tooLargeToDownloadOriginal) }">
<p:commandLink update="@form" actionListener="#{DatasetPage.startDownloadAllOriginal()}"
oncomplete="bind_bsui_components();showPopup();"
Expand All @@ -173,6 +174,7 @@
</h:outputFormat>
</p:commandLink>
</li>
<!-- Original Format too big -->
<ui:fragment rendered="#{DatasetPage.tooLargeToDownloadOriginal}">
<h:outputText value="#{bundle['dataset.accessBtn.original.too.big']}">
</h:outputText>
Expand All @@ -187,6 +189,7 @@
</h:outputFormat>
</p:commandLink>
</li>
<!-- Archival Format too big -->
<ui:fragment rendered="#{DatasetPage.tooLargeToDownloadArchival}">
<h:outputText value="#{bundle['dataset.accessBtn.archival.too.big']}">
</h:outputText>
Expand Down

0 comments on commit 56a7b63

Please sign in to comment.