To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
root / app / views / trackers / index.html.erb @ 912:5e80956cc792
History | View | Annotate | Download (1.23 KB)
| 1 | 0:513646585e45 | Chris | <div class="contextual"> |
|---|---|---|---|
| 2 | 909:cbb26bc654de | Chris | <%= link_to l(:label_tracker_new), new_tracker_path, :class => 'icon icon-add' %>
|
| 3 | 0:513646585e45 | Chris | </div>
|
| 4 | |||
| 5 | <h2><%=l(:label_tracker_plural)%></h2> |
||
| 6 | |||
| 7 | <table class="list"> |
||
| 8 | <thead><tr> |
||
| 9 | <th><%=l(:label_tracker)%></th> |
||
| 10 | <th></th> |
||
| 11 | <th><%=l(:button_sort)%></th> |
||
| 12 | <th></th> |
||
| 13 | </tr></thead> |
||
| 14 | <tbody>
|
||
| 15 | <% for tracker in @trackers %>
|
||
| 16 | <tr class="<%= cycle("odd", "even") %>"> |
||
| 17 | 909:cbb26bc654de | Chris | <td><%= link_to h(tracker.name), edit_tracker_path(tracker) %></td> |
| 18 | 0:513646585e45 | Chris | <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 | 909:cbb26bc654de | Chris | <td align="center" style="width:15%;"><%= reorder_links('tracker', {:action => 'update', :id => tracker}, :put) %></td> |
| 20 | 0:513646585e45 | Chris | <td class="buttons"> |
| 21 | 909:cbb26bc654de | Chris | <%= link_to(l(:button_delete), tracker_path(tracker),
|
| 22 | :method => :delete,
|
||
| 23 | :confirm => l(:text_are_you_sure),
|
||
| 24 | :class => 'icon icon-del') %>
|
||
| 25 | 0:513646585e45 | Chris | </td>
|
| 26 | </tr>
|
||
| 27 | <% end %>
|
||
| 28 | </tbody>
|
||
| 29 | </table>
|
||
| 30 | |||
| 31 | <p class="pagination"><%= pagination_links_full @tracker_pages %></p> |
||
| 32 | |||
| 33 | <% html_title(l(:label_tracker_plural)) -%> |