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 @ 441:cbce1fd3b1b7

History | View | Annotate | Download (1.2 KB)

1
<div class="contextual">
2
<%= link_to l(:label_tracker_new), {:action => 'new'}, :class => 'icon icon-add' %>
3
</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
  <td><%= link_to tracker.name, :action => 'edit', :id => tracker %></td>
18
  <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
  <td align="center" style="width:15%;"><%= reorder_links('tracker', {:action => 'edit', :id => tracker}) %></td>
20
  <td class="buttons">
21
    <%= link_to(l(:button_delete), { :action => 'destroy', :id => tracker },
22
                                                                                                                             :method => :post,
23
                                                                                                                             :confirm => l(:text_are_you_sure),
24
                                                                                                                             :class => 'icon icon-del') %>
25
  </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)) -%>