Project

General

Profile

« Previous | Next » 

Revision 23577

Backported r23567 to 5.1-stable (#41947).

View differences:

branches/5.1-stable/app/views/workflows/edit.html.erb
40 40
      <%= render :partial => 'form', :locals => {:name => 'always', :workflows => @workflows['always']} %>
41 41

  
42 42
      <fieldset class="collapsible" style="padding: 0; margin-top: 0.5em;">
43
        <legend onclick="toggleFieldset(this);" class="icon icon-collapsed"><%= l(:label_additional_workflow_transitions_for_author) %></legend>
43
        <legend onclick="toggleFieldset(this);" class="icon icon-<%= @workflows['author'].present? ? "expanded" : "collapsed" %>"><%= l(:label_additional_workflow_transitions_for_author) %></legend>
44 44
        <div id="author_workflows" style="margin: 0.5em 0 0.5em 0;">
45 45
          <%= render :partial => 'form', :locals => {:name => 'author', :workflows => @workflows['author']} %>
46 46
        </div>
......
48 48
      <%= javascript_tag "hideFieldset($('#author_workflows'))" unless @workflows['author'].present? %>
49 49

  
50 50
      <fieldset class="collapsible" style="padding: 0;">
51
        <legend onclick="toggleFieldset(this);" class="icon icon-collapsed"><%= l(:label_additional_workflow_transitions_for_assignee) %></legend>
51
        <legend onclick="toggleFieldset(this);" class="icon icon-<%= @workflows['assignee'].present? ? "expanded" : "collapsed" %>"><%= l(:label_additional_workflow_transitions_for_assignee) %></legend>
52 52
        <div id="assignee_workflows" style="margin: 0.5em 0 0.5em 0;">
53 53
      <%= render :partial => 'form', :locals => {:name => 'assignee', :workflows => @workflows['assignee']} %>
54 54
        </div>

Also available in: Unified diff