@@ -29,12 +29,17 | |||
|
29 | 29 | <%= link_to_function('', "toggleCheckboxesBySelector('table.transitions-#{name} input.old-status-#{old_status.try(:id) || 0}')", |
|
30 | 30 | :title => "#{l(:button_check_all)}/#{l(:button_uncheck_all)}", |
|
31 | 31 | :class => 'icon-only icon-checked') %> |
|
32 | ||
|
33 |
<% |
|
|
32 | <% if old_status %> | |
|
33 | <% old_status_name = old_status.name %> | |
|
34 | <%= old_status_name %> | |
|
35 | <% else %> | |
|
36 | <% old_status_name = l(:label_issue_new) %> | |
|
37 | <%= content_tag('em', old_status_name) %> | |
|
38 | <% end %> | |
|
34 | 39 | </td> |
|
35 | 40 | <% for new_status in @statuses -%> |
|
36 | 41 | <% checked = workflows.detect {|w| w.old_status == old_status && w.new_status == new_status} %> |
|
37 | <td class="<%= checked ? 'enabled' : '' %>"> | |
|
42 | <td class="<%= checked ? 'enabled' : '' %>" title="<%= old_status_name %> » <%= new_status.name %>"> | |
|
38 | 43 | <%= transition_tag workflows, old_status, new_status, name %> |
|
39 | 44 | </td> |
|
40 | 45 | <% end -%> |
@@ -65,7 +65,7 | |||
|
65 | 65 | <%= name %> <%= content_tag('span', '*', :class => 'required') if field_required?(field) %> |
|
66 | 66 | </td> |
|
67 | 67 | <% for status in @statuses -%> |
|
68 | <td class="<%= @permissions[status.id][field].try(:join, ' ') %>"> | |
|
68 | <td class="<%= @permissions[status.id][field].try(:join, ' ') %>" title="<%= name %> (<%= status.name %>)"> | |
|
69 | 69 | <%= field_permission_tag(@permissions, status, field, @roles) %> |
|
70 | 70 | <% unless status == @statuses.last %><a href="#" class="repeat-value">»</a><% end %> |
|
71 | 71 | </td> |
@@ -85,7 +85,7 | |||
|
85 | 85 | <%= field.name %> <%= content_tag('span', '*', :class => 'required') if field_required?(field) %> |
|
86 | 86 | </td> |
|
87 | 87 | <% for status in @statuses -%> |
|
88 | <td class="<%= @permissions[status.id][field.id.to_s].try(:join, ' ') %>"> | |
|
88 | <td class="<%= @permissions[status.id][field.id.to_s].try(:join, ' ') %>" title="<%= field.name %> (<%= status.name %>)"> | |
|
89 | 89 | <%= field_permission_tag(@permissions, status, field, @roles) %> |
|
90 | 90 | <% unless status == @statuses.last %><a href="#" class="repeat-value">»</a><% end %> |
|
91 | 91 | </td> |
General Comments 0
You need to be logged in to leave comments.
Login now