@@ -1,33 +1,33 | |||
|
1 | 1 | <div class="contextual"> |
|
2 | 2 | <%= link_to l(:label_tracker_new), {:action => 'new'}, :class => 'icon icon-add' %> |
|
3 | 3 | </div> |
|
4 | 4 | |
|
5 | 5 | <h2><%=l(:label_tracker_plural)%></h2> |
|
6 | 6 | |
|
7 | 7 | <table class="list"> |
|
8 | 8 | <thead><tr> |
|
9 | 9 | <th><%=l(:label_tracker)%></th> |
|
10 | 10 | <th></th> |
|
11 | 11 | <th><%=l(:button_sort)%></th> |
|
12 | 12 | <th></th> |
|
13 | 13 | </tr></thead> |
|
14 | 14 | <tbody> |
|
15 | 15 | <% for tracker in @trackers %> |
|
16 | 16 | <tr class="<%= cycle("odd", "even") %>"> |
|
17 | 17 | <td><%= link_to h(tracker.name), :action => 'edit', :id => tracker %></td> |
|
18 | 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 | 19 | <td align="center" style="width:15%;"><%= reorder_links('tracker', {:action => 'edit', :id => tracker}) %></td> |
|
20 | 20 | <td class="buttons"> |
|
21 | 21 | <%= link_to(l(:button_delete), { :action => 'destroy', :id => tracker }, |
|
22 | :method => :post, | |
|
23 |
|
|
|
24 |
|
|
|
22 | :method => :post, | |
|
23 | :confirm => l(:text_are_you_sure), | |
|
24 | :class => 'icon icon-del') %> | |
|
25 | 25 | </td> |
|
26 | 26 | </tr> |
|
27 | 27 | <% end %> |
|
28 | 28 | </tbody> |
|
29 | 29 | </table> |
|
30 | 30 | |
|
31 | 31 | <p class="pagination"><%= pagination_links_full @tracker_pages %></p> |
|
32 | 32 | |
|
33 | 33 | <% html_title(l(:label_tracker_plural)) -%> |
General Comments 0
You need to be logged in to leave comments.
Login now