Skip to content

Commit b5ca516

Browse files
author
Simon Sendler
committed
feat: update UI to use alert component
1 parent d5809a2 commit b5ca516

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

module-gui/src/main/webapp/resources/uii/includes/edit_relationship_modal.xhtml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,10 @@
5252
prependId="false">
5353
<div class="modal-body p-0">
5454

55-
<h:panelGroup rendered="#{NavigationForm.workflowPlugin.changeRelationshipEntity == null}">
56-
<div class="alert alert-danger">#{msgs.plugin_workflow_entity_locked}</div>
57-
</h:panelGroup>
55+
<util:alert
56+
type="danger"
57+
message="#{msgs.plugin_workflow_entity_locked}"
58+
rendered="#{NavigationForm.workflowPlugin.changeRelationshipEntity == null}" />
5859

5960
<h:panelGroup
6061
layout="block"

0 commit comments

Comments
 (0)