Skip to content

Commit

Permalink
Change context menu label when unlinking process
Browse files Browse the repository at this point in the history
  • Loading branch information
solth committed Jan 20, 2023
1 parent 30f519d commit b4f3169
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions Kitodo/src/main/resources/messages/messages_de.properties
Original file line number Diff line number Diff line change
Expand Up @@ -1099,6 +1099,7 @@ unassignTasks=Aufgaben zur\u00FCcksetzen
unit=Einheit
uncounted=unnummeriert
unknown=Unbekannt
unlinkProcess=Prozessverkn\u00FCpfung aufheben
unlocked=Entsperrt
up=hoch
updateType=Art der Aktualisierung
Expand Down
1 change: 1 addition & 0 deletions Kitodo/src/main/resources/messages/messages_en.properties
Original file line number Diff line number Diff line change
Expand Up @@ -1099,6 +1099,7 @@ unassignTasks=Unassign Tasks
unit=unit
uncounted=uncounted
unknown=Unknown
unlinkProcess=Unlink process
unlocked=Unlocked
up=up
updateType=Update type
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@
update = "uploadFileDialog"
disabled="#{readOnly}"
process="@this"/>
<p:menuitem value="#{msgs.removeElement}"
<p:menuitem value="#{DataEditorForm.structurePanel.selectedLogicalNode.data.linked ? msgs.unlinkProcess : msgs.removeElement}"
rendered="#{DataEditorForm.structurePanel.selectedLogicalNode.data.dataObject ne null and DataEditorForm.structurePanel.selectedLogicalNode.data.dataObject['class'].simpleName ne 'View'}"
icon="fa fa-trash fa-sm"
styleClass="plain"
Expand Down

0 comments on commit b4f3169

Please sign in to comment.