@@ -3,7 +3,7 | |||
|
3 | 3 | <!--[form:role]--> |
|
4 | 4 | <p><%= f.text_field :name, :required => true %></p> |
|
5 | 5 | |
|
6 |
< |
|
|
6 | <h3><%=l(:label_permissions)%></h3> | |
|
7 | 7 | <% permissions = @permissions.group_by {|p| p.group_id } %> |
|
8 | 8 | <% permissions.keys.sort.each do |group_id| %> |
|
9 | 9 | <fieldset style="margin-top: 6px;"><legend><strong><%= l(Permission::GROUPS[group_id]) %></strong></legend> |
@@ -28,11 +28,11 | |||
|
28 | 28 | <%= form_tag ({:action => 'workflow', :role_id => @role, :tracker_id => @tracker }, :id => 'workflow_form' ) %> |
|
29 | 29 | <table> |
|
30 | 30 | <tr> |
|
31 |
<td align="center" |
|
|
31 | <td align="center"><strong><%=l(:label_current_status)%></strong></td> | |
|
32 | 32 | <td align="center" colspan="<%= @statuses.length %>"><strong><%=l(:label_new_statuses_allowed)%></strong></td> |
|
33 | 33 | </tr> |
|
34 | 34 | <tr> |
|
35 |
<td |
|
|
35 | <td></td> | |
|
36 | 36 | <% for new_status in @statuses %> |
|
37 | 37 | <td width="80" align="center"><%= new_status.name %></td> |
|
38 | 38 | <% end %> |
@@ -40,9 +40,7 | |||
|
40 | 40 | |
|
41 | 41 | <% for old_status in @statuses %> |
|
42 | 42 | <tr> |
|
43 |
<td |
|
|
44 | <td><%= old_status.name %></td> | |
|
45 | ||
|
43 | <td><div class="square" style="background:#<%= old_status.html_color %>;"></div> <%= old_status.name %></td> | |
|
46 | 44 | <% for new_status in @statuses %> |
|
47 | 45 | <td align="center"> |
|
48 | 46 |
General Comments 0
You need to be logged in to leave comments.
Login now