@@ -21,8 +21,11 | |||||
21 | <td align="center"><%= l(:label_x_projects, :count => custom_field.projects.count) if custom_field.is_a? IssueCustomField and !custom_field.is_for_all? %></td> |
|
21 | <td align="center"><%= l(:label_x_projects, :count => custom_field.projects.count) if custom_field.is_a? IssueCustomField and !custom_field.is_for_all? %></td> | |
22 | <% end %> |
|
22 | <% end %> | |
23 | <td align="center" style="width:15%;"><%= reorder_links('custom_field', {:action => 'edit', :id => custom_field}) %></td> |
|
23 | <td align="center" style="width:15%;"><%= reorder_links('custom_field', {:action => 'edit', :id => custom_field}) %></td> | |
24 | <td align="center"> |
|
24 | <td class="buttons"> | |
25 |
<%= |
|
25 | <%= link_to(l(:button_delete), { :action => 'destroy', :id => custom_field }, | |
|
26 | :method => :post, | |||
|
27 | :confirm => l(:text_are_you_sure), | |||
|
28 | :class => 'icon icon-del') %> | |||
26 | </td> |
|
29 | </td> | |
27 | </tr> |
|
30 | </tr> | |
28 | <% end; reset_cycle %> |
|
31 | <% end; reset_cycle %> |
@@ -11,8 +11,11 | |||||
11 | <td><%= link_to h(enumeration), :action => 'edit', :id => enumeration %></td> |
|
11 | <td><%= link_to h(enumeration), :action => 'edit', :id => enumeration %></td> | |
12 | <td style="width:15%;"><%= image_tag('true.png') if enumeration.is_default? %></td> |
|
12 | <td style="width:15%;"><%= image_tag('true.png') if enumeration.is_default? %></td> | |
13 | <td style="width:15%;"><%= reorder_links('enumeration', {:action => 'update', :id => enumeration}) %></td> |
|
13 | <td style="width:15%;"><%= reorder_links('enumeration', {:action => 'update', :id => enumeration}) %></td> | |
14 | <td align="center" style="width:10%;"> |
|
14 | <td class="buttons"> | |
15 |
<%= link_to l(:button_delete), { :action => 'destroy', :id => enumeration }, |
|
15 | <%= link_to l(:button_delete), { :action => 'destroy', :id => enumeration }, | |
|
16 | :method => :post, | |||
|
17 | :confirm => l(:text_are_you_sure), | |||
|
18 | :class => 'icon icon-del' %> | |||
16 | </td> |
|
19 | </td> | |
17 | </tr> |
|
20 | </tr> | |
18 | <% end %> |
|
21 | <% end %> |
@@ -19,8 +19,11 | |||||
19 | <td align="center"><%= image_tag 'true.png' if status.is_default? %></td> |
|
19 | <td align="center"><%= image_tag 'true.png' if status.is_default? %></td> | |
20 | <td align="center"><%= image_tag 'true.png' if status.is_closed? %></td> |
|
20 | <td align="center"><%= image_tag 'true.png' if status.is_closed? %></td> | |
21 | <td align="center" style="width:15%;"><%= reorder_links('issue_status', {:action => 'update', :id => status}) %></td> |
|
21 | <td align="center" style="width:15%;"><%= reorder_links('issue_status', {:action => 'update', :id => status}) %></td> | |
22 | <td align="center" style="width:10%;"> |
|
22 | <td class="buttons"> | |
23 |
<%= |
|
23 | <%= link_to(l(:button_delete), { :action => 'destroy', :id => status }, | |
|
24 | :method => :post, | |||
|
25 | :confirm => l(:text_are_you_sure), | |||
|
26 | :class => 'icon icon-del') %> | |||
24 | </td> |
|
27 | </td> | |
25 | </tr> |
|
28 | </tr> | |
26 | <% end %> |
|
29 | <% end %> |
@@ -19,8 +19,11 | |||||
19 | <%= reorder_links('role', {:action => 'edit', :id => role}) %> |
|
19 | <%= reorder_links('role', {:action => 'edit', :id => role}) %> | |
20 | <% end %> |
|
20 | <% end %> | |
21 | </td> |
|
21 | </td> | |
22 | <td align="center" style="width:10%;"> |
|
22 | <td class="buttons"> | |
23 | <%= button_to(l(:button_delete), { :action => 'destroy', :id => role }, :confirm => l(:text_are_you_sure), :class => "button-small", :disabled => role.builtin? ) %> |
|
23 | <%= link_to(l(:button_delete), { :action => 'destroy', :id => role }, | |
|
24 | :method => :post, | |||
|
25 | :confirm => l(:text_are_you_sure), | |||
|
26 | :class => 'icon icon-del') unless role.builtin? %> | |||
24 | </td> |
|
27 | </td> | |
25 | </tr> |
|
28 | </tr> | |
26 | <% end %> |
|
29 | <% end %> |
@@ -17,8 +17,11 | |||||
17 | <td><%= link_to tracker.name, :action => 'edit', :id => tracker %></td> |
|
17 | <td><%= link_to tracker.name, :action => 'edit', :id => tracker %></td> | |
18 | <td align="center"><% unless tracker.workflows.count > 0 %><span class="icon icon-warning"><%= l(:text_tracker_no_workflow) %> (<%= link_to l(:button_edit), {:controller => 'workflows', :action => 'edit', :tracker_id => tracker} %>)</span><% end %></td> |
|
18 | <td align="center"><% unless tracker.workflows.count > 0 %><span class="icon icon-warning"><%= l(:text_tracker_no_workflow) %> (<%= link_to l(:button_edit), {:controller => 'workflows', :action => 'edit', :tracker_id => tracker} %>)</span><% end %></td> | |
19 | <td align="center" style="width:15%;"><%= reorder_links('tracker', {:action => 'edit', :id => tracker}) %></td> |
|
19 | <td align="center" style="width:15%;"><%= reorder_links('tracker', {:action => 'edit', :id => tracker}) %></td> | |
20 | <td align="center" style="width:10%;"> |
|
20 | <td class="buttons"> | |
21 |
<%= |
|
21 | <%= link_to(l(:button_delete), { :action => 'destroy', :id => tracker }, | |
|
22 | :method => :post, | |||
|
23 | :confirm => l(:text_are_you_sure), | |||
|
24 | :class => 'icon icon-del') %> | |||
22 | </td> |
|
25 | </td> | |
23 | </tr> |
|
26 | </tr> | |
24 | <% end %> |
|
27 | <% end %> |
General Comments 0
You need to be logged in to leave comments.
Login now