2006-12-16 15:15:31 +03:00
|
|
|
<div class="contextual">
|
2011-11-23 01:32:45 +04:00
|
|
|
<%= link_to l(:label_tracker_new), new_tracker_path, :class => 'icon icon-add' %>
|
2012-12-23 20:10:07 +04:00
|
|
|
<%= link_to l(:field_summary), fields_trackers_path, :class => 'icon icon-summary' %>
|
2006-12-16 15:15:31 +03:00
|
|
|
</div>
|
|
|
|
|
2006-07-29 23:54:22 +04:00
|
|
|
<h2><%=l(:label_tracker_plural)%></h2>
|
2006-06-28 22:11:03 +04:00
|
|
|
|
2006-12-24 19:35:25 +03:00
|
|
|
<table class="list">
|
|
|
|
<thead><tr>
|
2007-03-12 20:59:02 +03:00
|
|
|
<th><%=l(:label_tracker)%></th>
|
2007-04-07 21:33:07 +04:00
|
|
|
<th></th>
|
2007-02-01 00:18:43 +03:00
|
|
|
<th><%=l(:button_sort)%></th>
|
2006-06-28 22:11:03 +04:00
|
|
|
<th></th>
|
2006-12-24 19:35:25 +03:00
|
|
|
</tr></thead>
|
|
|
|
<tbody>
|
2006-06-28 22:11:03 +04:00
|
|
|
<% for tracker in @trackers %>
|
2006-07-09 20:30:01 +04:00
|
|
|
<tr class="<%= cycle("odd", "even") %>">
|
2013-11-12 01:01:21 +04:00
|
|
|
<td class="name"><%= link_to h(tracker.name), edit_tracker_path(tracker) %></td>
|
|
|
|
<td>
|
2012-12-23 20:10:07 +04:00
|
|
|
<% unless tracker.workflow_rules.count > 0 %>
|
|
|
|
<span class="icon icon-warning">
|
|
|
|
<%= l(:text_tracker_no_workflow) %> (<%= link_to l(:button_edit), workflows_edit_path(:tracker_id => tracker) %>)
|
|
|
|
</span>
|
|
|
|
<% end %>
|
|
|
|
</td>
|
2013-11-10 17:24:07 +04:00
|
|
|
<td class="reorder">
|
2012-12-23 20:10:07 +04:00
|
|
|
<%= reorder_links('tracker', {:action => 'update', :id => tracker}, :put) %>
|
|
|
|
</td>
|
2009-09-12 13:25:39 +04:00
|
|
|
<td class="buttons">
|
2012-07-07 18:36:49 +04:00
|
|
|
<%= delete_link tracker_path(tracker) %>
|
2006-06-28 22:11:03 +04:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<% end %>
|
2006-12-24 19:35:25 +03:00
|
|
|
</tbody>
|
2006-06-28 22:11:03 +04:00
|
|
|
</table>
|
2007-03-12 20:59:02 +03:00
|
|
|
|
2007-12-29 14:36:30 +03:00
|
|
|
<p class="pagination"><%= pagination_links_full @tracker_pages %></p>
|
2007-12-07 21:42:40 +03:00
|
|
|
|
2008-01-03 01:41:53 +03:00
|
|
|
<% html_title(l(:label_tracker_plural)) -%>
|