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 @ 1298:4f746d8966dd
History | View | Annotate | Download (1.14 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 | 1295:622f24f53b42 | Chris | <%= link_to l(:field_summary), fields_trackers_path, :class => 'icon icon-summary' %>
|
| 4 | 0:513646585e45 | Chris | </div>
|
| 5 | |||
| 6 | <h2><%=l(:label_tracker_plural)%></h2> |
||
| 7 | |||
| 8 | <table class="list"> |
||
| 9 | <thead><tr> |
||
| 10 | <th><%=l(:label_tracker)%></th> |
||
| 11 | <th></th> |
||
| 12 | <th><%=l(:button_sort)%></th> |
||
| 13 | <th></th> |
||
| 14 | </tr></thead> |
||
| 15 | <tbody>
|
||
| 16 | <% for tracker in @trackers %>
|
||
| 17 | <tr class="<%= cycle("odd", "even") %>"> |
||
| 18 | 909:cbb26bc654de | Chris | <td><%= link_to h(tracker.name), edit_tracker_path(tracker) %></td> |
| 19 | 1295:622f24f53b42 | Chris | <td align="center"> |
| 20 | <% unless tracker.workflow_rules.count > 0 %>
|
||
| 21 | <span class="icon icon-warning"> |
||
| 22 | <%= l(:text_tracker_no_workflow) %> (<%= link_to l(:button_edit), workflows_edit_path(:tracker_id => tracker) %>) |
||
| 23 | </span>
|
||
| 24 | <% end %>
|
||
| 25 | </td>
|
||
| 26 | <td align="center" style="width:15%;"> |
||
| 27 | <%= reorder_links('tracker', {:action => 'update', :id => tracker}, :put) %>
|
||
| 28 | </td>
|
||
| 29 | 0:513646585e45 | Chris | <td class="buttons"> |
| 30 | 1115:433d4f72a19b | Chris | <%= delete_link tracker_path(tracker) %>
|
| 31 | 0:513646585e45 | Chris | </td>
|
| 32 | </tr>
|
||
| 33 | <% end %>
|
||
| 34 | </tbody>
|
||
| 35 | </table>
|
||
| 36 | |||
| 37 | <p class="pagination"><%= pagination_links_full @tracker_pages %></p> |
||
| 38 | |||
| 39 | <% html_title(l(:label_tracker_plural)) -%> |