From 6328fba8c2d19cfe56c38441218794e52b915ea3 Mon Sep 17 00:00:00 2001 From: Marius Balteanu Date: Wed, 26 Mar 2025 21:55:33 +0000 Subject: [PATCH] The collapse arrow for assignee and owner sections in @/workflows/edit@ now correctly reflects the open/closed state when rules are configured (#41947). git-svn-id: https://svn.redmine.org/redmine/trunk@23567 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/workflows/edit.html.erb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/views/workflows/edit.html.erb b/app/views/workflows/edit.html.erb index 22f1cc48e..2262fc1d1 100644 --- a/app/views/workflows/edit.html.erb +++ b/app/views/workflows/edit.html.erb @@ -40,8 +40,8 @@ <%= render :partial => 'form', :locals => {:name => 'always', :workflows => @workflows['always']} %>
- - <%= sprite_icon("angle-right") %> + "> + <%= sprite_icon(@workflows['author'].present? ? "angle-down" : "angle-right") %> <%= l(:label_additional_workflow_transitions_for_author) %>
@@ -51,8 +51,8 @@ <%= javascript_tag "hideFieldset($('#author_workflows'))" unless @workflows['author'].present? %>
- - <%= sprite_icon("angle-right") %> + "> + <%= sprite_icon(@workflows['assignee'].present? ? "angle-down" : "angle-right") %> <%= l(:label_additional_workflow_transitions_for_assignee) %>