Skip to content

Commit

Permalink
fix display logic
Browse files Browse the repository at this point in the history
  • Loading branch information
qqmyers committed Jul 28, 2022
1 parent 26853a4 commit 87181ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/webapp/dataset-versions.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@
action="#{DatasetPage.archiveVersion(versionTab.id)}">
<h:outputText value="#{bundle['file.dataFilesTab.versions.headers.archived.submit']}"/>
</p:commandLink>
<h:outputText value="#{bundle['file.dataFilesTab.versions.headers.archived.notarchived']}" rendered="#{(not DatasetPage.isSuperUser() or DatasetPage.someVersionArchived) and empty(versionTab.archivalCopyLocation)}"/>
<h:outputText value="#{bundle['file.dataFilesTab.versions.headers.archived.notarchived']}" rendered="#{ empty(versionTab.archivalCopyLocation) and ((not DatasetPage.isSuperUser() and DatasetPage.someVersionArchived) or (DatasetPage.isSuperUser() and not DatasetPage.versionArchivable))}"/>

</ui:fragment>
</p:column><!-- end: archivalCopy column -->
Expand Down

0 comments on commit 87181ec

Please sign in to comment.