##// END OF EJS Templates
Merged r14380 (#20066)....
Merged r14380 (#20066). git-svn-id: http://svn.redmine.org/redmine/branches/3.0-stable@14386 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r13368:f731545c619b
r14004:d24e6710f430
Show More
index.html.erb
33 lines | 867 B | text/plain | TextLexer
Jean-Philippe Lang
Adds missing html titles (#14517)....
r11820 <%= title [l(:label_workflow), workflows_edit_path], l(:field_summary) %>
Jean-Philippe Lang
Adds a workflow overview screen....
r1912
Jean-Philippe Lang
Use a simple count query....
r13368 <% if @roles.empty? || @trackers.empty? %>
Jean-Philippe Lang
Adds a workflow overview screen....
r1912 <p class="nodata"><%= l(:label_no_data) %></p>
<% else %>
Jean-Philippe Lang
Fixed: Layout problem in workflow overview (#6990)....
r4314 <div class="autoscroll">
Jean-Philippe Lang
Adds a workflow overview screen....
r1912 <table class="list">
<thead>
<tr>
<th></th>
Jean-Philippe Lang
Use a simple count query....
r13368 <% @roles.each do |role| %>
Jean-Philippe Lang
Adds a workflow overview screen....
r1912 <th>
Jean-Philippe Lang
Use a simple count query....
r13368 <%= content_tag(role.builtin? ? 'em' : 'span', role.name) %>
Jean-Philippe Lang
Adds a workflow overview screen....
r1912 </th>
<% end %>
</tr>
</thead>
<tbody>
Jean-Philippe Lang
Use a simple count query....
r13368 <% @trackers.each do |tracker| -%>
Jean-Philippe Lang
Adds a workflow overview screen....
r1912 <tr class="<%= cycle('odd', 'even') %>">
Jean-Philippe Lang
Use a simple count query....
r13368 <td class="name"><%= tracker.name %></td>
<% @roles.each do |role| -%>
<% count = @workflow_counts[[tracker.id, role.id]] || 0 %>
Jean-Philippe Lang
Removed deprecated align and width html attributes (#15307)....
r12038 <td>
Jean-Philippe Lang
Fixed: Workflow summary shows X icon for workflow with exactly 1 status transition (#7611)....
r4770 <%= link_to((count > 0 ? count : image_tag('false.png')), {:action => 'edit', :role_id => role, :tracker_id => tracker}, :title => l(:button_edit)) %>
Jean-Philippe Lang
Adds a workflow overview screen....
r1912 </td>
<% end -%>
</tr>
<% end -%>
</tbody>
</table>
Jean-Philippe Lang
Fixed: Layout problem in workflow overview (#6990)....
r4314 </div>
Jean-Philippe Lang
Adds a workflow overview screen....
r1912 <% end %>