To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.

Statistics Download as Zip
| Branch: | Tag: | Revision:

root / app / views / trackers / index.html.erb @ 1591:63650ae64bf2

History | View | Annotate | Download (1.12 KB)

1
<div class="contextual">
2
<%= link_to l(:label_tracker_new), new_tracker_path, :class => 'icon icon-add' %>
3
<%= link_to l(:field_summary), fields_trackers_path, :class => 'icon icon-summary' %>
4
</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
  <td class="name"><%= link_to h(tracker.name), edit_tracker_path(tracker) %></td>
19
  <td>
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 class="reorder">
27
    <%= reorder_links('tracker', {:action => 'update', :id => tracker}, :put) %>
28
  </td>
29
  <td class="buttons">
30
    <%= delete_link tracker_path(tracker) %>
31
  </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)) -%>