Skip to content

Commit

Permalink
fix: fix edit buttons of process properties in container 0 in task view
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Sendler committed Jan 16, 2025
1 parent a10367b commit b6a854e
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/main/webapp/WEB-INF/taglibs/properties/group.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
: fn:contains(bean, 'BatchProcessHelper')? 'batch'
: 'process'
}" />

<div class="properties-group">

<section:section
type="outline">
<section:header
Expand Down Expand Up @@ -48,7 +48,7 @@
class="fa fa-plus" />
</button>
</c:if>
<c:if test="#{scope == 'step'}">
<c:if test="#{scope == 'step' and !add}">
<button
class="btn d-flex align-items-center btn--title-action-neutral"
data-bs-toggle="tooltip"
Expand Down
21 changes: 20 additions & 1 deletion src/main/webapp/WEB-INF/taglibs/properties/property.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,26 @@
value="eigenschaft" />
</button>
</c:if>
<c:if test="#{scope != 'batch'}">
<c:if test="#{scope == 'step'}">
<button
jsf:id="editProperty"
jsf:action="task_edit"
title="#{msgs.bearbeiten}"
class="btn btn-blank"
jsf:rendered="#{!isBatchStep and property.currentStepAccessCondition ne 'READ' and property.type.name != 'metadata'}">
<span class="fa fa-pencil" />
<f:setPropertyActionListener
target="#{bean.processProperty}"
value="#{property}" />
<f:setPropertyActionListener
target="#{bean.container}"
value="0" />
<f:setPropertyActionListener
target="#{bean.modusBearbeiten}"
value="eigenschaft" />
</button>
</c:if>
<c:if test="#{scope == 'process'}">
<button
class="btn btn-blank"
data-bs-toggle="tooltip"
Expand Down

0 comments on commit b6a854e

Please sign in to comment.