2006-12-16 15:15:31 +03:00
|
|
|
<div class="contextual">
|
|
|
|
<%= link_to l(:label_tracker_new), {:action => 'new'}, :class => 'pic picAdd' %>
|
|
|
|
</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>
|
2006-07-29 23:54:22 +04:00
|
|
|
<th><%=l(:label_tracker)%></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") %>">
|
2006-06-28 22:11:03 +04:00
|
|
|
<td><%= link_to tracker.name, :action => 'edit', :id => tracker %></td>
|
2006-09-02 17:33:23 +04:00
|
|
|
<td align="center">
|
|
|
|
<%= button_to l(:button_delete), { :action => 'destroy', :id => tracker }, :confirm => l(:text_are_you_sure), :class => "button-small" %>
|
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>
|
|
|
|
|
2006-12-16 15:15:31 +03:00
|
|
|
<%= pagination_links_full @tracker_pages %>
|