Sha256: 8967cc4192c60ea904226de5a26c21f9da1e0fd4f608a22b3d0aa79a34eac022

Contents?: true

Size: 867 Bytes

Versions: 34

Compression:

Stored size: 867 Bytes

Contents

<%= title [l(:label_workflow), workflows_edit_path], l(:field_summary) %>

<% if @roles.empty? || @trackers.empty? %>
<p class="nodata"><%= l(:label_no_data) %></p>
<% else %>
<div class="autoscroll">
<table class="list">
<thead>
    <tr>
    <th></th>
    <% @roles.each do |role| %>
    <th>
        <%= content_tag(role.builtin? ? 'em' : 'span', role.name) %>
    </th>
    <% end %>
    </tr>
</thead>
<tbody>
<% @trackers.each do |tracker| -%>
<tr class="<%= cycle('odd', 'even') %>">
  <td class="name"><%= tracker.name %></td>
  <% @roles.each do |role| -%>
  <% count = @workflow_counts[[tracker.id, role.id]] || 0 %>
    <td>
      <%= link_to((count > 0 ? count : image_tag('false.png')), {:action => 'edit', :role_id => role, :tracker_id => tracker}, :title => l(:button_edit)) %>
    </td>
  <% end -%>
</tr>
<% end -%>
</tbody>
</table>
</div>
<% end %>

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
redmine_extensions-0.0.39 spec/redmine/app/views/workflows/index.html.erb
redmine_extensions-0.0.38 spec/redmine/app/views/workflows/index.html.erb
redmine_extensions-0.0.37 spec/redmine/app/views/workflows/index.html.erb
redmine_extensions-0.1.11 spec/redmine/app/views/workflows/index.html.erb
redmine_extensions-0.1.10 spec/redmine/app/views/workflows/index.html.erb
redmine_extensions-0.0.36 spec/redmine/app/views/workflows/index.html.erb
redmine_extensions-0.0.34 spec/redmine/app/views/workflows/index.html.erb
redmine_extensions-0.1.09 spec/redmine/app/views/workflows/index.html.erb
redmine_extensions-0.1.07 spec/redmine/app/views/workflows/index.html.erb
redmine_extensions-0.1.06 spec/redmine/app/views/workflows/index.html.erb
redmine_extensions-0.1.05 spec/redmine/app/views/workflows/index.html.erb
redmine_extensions-0.1.04 spec/redmine/app/views/workflows/index.html.erb
redmine_extensions-0.1.03 spec/redmine/app/views/workflows/index.html.erb
redmine_extensions-0.0.33 spec/redmine/app/views/workflows/index.html.erb
redmine_extensions-0.1.02 spec/redmine/app/views/workflows/index.html.erb
redmine_extensions-0.1.01 spec/redmine/app/views/workflows/index.html.erb
redmine_extensions-0.0.29 spec/redmine/app/views/workflows/index.html.erb
redmine_extensions-0.0.28 spec/redmine/app/views/workflows/index.html.erb
redmine_extensions-0.0.27 spec/redmine/app/views/workflows/index.html.erb
redmine_extensions-0.0.24 spec/redmine/app/views/workflows/index.html.erb