Skip to content

Commit

Permalink
externalstatus translation in the notification page(UI)
Browse files Browse the repository at this point in the history
  • Loading branch information
JayanthyChengan committed Feb 1, 2023
1 parent 9412ef5 commit 252df60
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/webapp/dataverseuser.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -423,11 +423,12 @@
</ui:fragment>
<ui:fragment rendered="#{item.type == 'STATUSUPDATED'}">
<span class="icon-dataset text-icon-inline text-muted"></span>
<o:importFunctions type="edu.harvard.iq.dataverse.dataset.DatasetUtil" />
<h:outputFormat value="#{bundle['notification.statusUpdated']}" escape="false">
<o:param>
<a href="/dataset.xhtml?persistentId=#{item.theObject.getDataset().getGlobalId()}&amp;version=DRAFT&amp;faces-redirect=true" title="#{item.theObject.getDataset().getDisplayName()}">#{item.theObject.getDataset().getDisplayName()}</a>
</o:param>
<f:param value="#{item.theObject.externalStatusLabel}"/>
<f:param value="#{DatasetUtil:getLocaleExternalStatus(item.theObject.externalStatusLabel)}"/>
</h:outputFormat>
</ui:fragment>
<ui:fragment rendered="#{item.type == 'DATASETMENTIONED'}">
Expand Down

0 comments on commit 252df60

Please sign in to comment.