Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 1 addition & 29 deletions src/main/webapp/dataset.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -374,34 +374,6 @@
#{bundle['dataset.rejectBtn']}
</p:commandLink>
</li>
<ui:fragment rendered="#{(not empty DatasetPage.allowedCurationStatuses) and DatasetPage.canPublishDataset()}">
<li class="dropdown-submenu pull-left">
<a tabindex="0">#{bundle['dataset.changestatus']}</a>
<ul class="dropdown-menu">
<ui:repeat value="#{DatasetPage.allowedCurationStatuses}" var="status">
<li>
<o:importFunctions type="edu.harvard.iq.dataverse.dataset.DatasetUtil" />
<p:commandLink action="#{DatasetPage.setCurationStatus(status)}" update=":datasetForm:topDatasetBlockFragment,:messagePanel">
#{DatasetUtil:getLocaleCurationStatusLabel(status)}
</p:commandLink>
</li>
</ui:repeat>
<p:separator/>
<li>
<p:commandLink action="#{DatasetPage.setCurationStatus(null)}" update=":datasetForm:topDatasetBlockFragment,:messagePanel">
#{bundle['dataset.removestatus']}
</p:commandLink>
</li>
</ul>
</li>
</ui:fragment>
<li>
<p:commandLink oncomplete="PF('curationStatusHistoryDialog').show()"
update=":curationStatusHistoryForm"
rendered="#{DatasetPage.canSeeCurationStatus()}">
#{bundle['dataset.viewCurationStatusHistory']}
</p:commandLink>
</li>
</ul>
</div>
</div>
Expand Down Expand Up @@ -552,7 +524,7 @@
</ui:fragment>
<li>
<p:commandLink oncomplete="PF('curationStatusHistoryDialog').show()"
update=":datasetForm:curationStatusHistoryForm"
update=":datasetForm:curationStatusHistoryDialog"
rendered="#{DatasetPage.canSeeCurationStatus()}">
#{bundle['dataset.viewCurationStatusHistory']}
</p:commandLink>
Expand Down