annotate app/views/trackers/index.html.erb @ 904:0a8317a50fa0
redmine-1.1
Close obsolete branch redmine-1.1
author |
Chris Cannam |
date |
Fri, 14 Jan 2011 12:53:21 +0000 |
parents |
513646585e45 |
children |
cbb26bc654de |
rev |
line source |
Chris@0
|
1 <div class="contextual">
|
Chris@0
|
2 <%= link_to l(:label_tracker_new), {:action => 'new'}, :class => 'icon icon-add' %>
|
Chris@0
|
3 </div>
|
Chris@0
|
4
|
Chris@0
|
5 <h2><%=l(:label_tracker_plural)%></h2>
|
Chris@0
|
6
|
Chris@0
|
7 <table class="list">
|
Chris@0
|
8 <thead><tr>
|
Chris@0
|
9 <th><%=l(:label_tracker)%></th>
|
Chris@0
|
10 <th></th>
|
Chris@0
|
11 <th><%=l(:button_sort)%></th>
|
Chris@0
|
12 <th></th>
|
Chris@0
|
13 </tr></thead>
|
Chris@0
|
14 <tbody>
|
Chris@0
|
15 <% for tracker in @trackers %>
|
Chris@0
|
16 <tr class="<%= cycle("odd", "even") %>">
|
Chris@0
|
17 <td><%= link_to tracker.name, :action => 'edit', :id => tracker %></td>
|
Chris@0
|
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>
|
Chris@0
|
19 <td align="center" style="width:15%;"><%= reorder_links('tracker', {:action => 'edit', :id => tracker}) %></td>
|
Chris@0
|
20 <td class="buttons">
|
Chris@0
|
21 <%= link_to(l(:button_delete), { :action => 'destroy', :id => tracker },
|
Chris@0
|
22 :method => :post,
|
Chris@0
|
23 :confirm => l(:text_are_you_sure),
|
Chris@0
|
24 :class => 'icon icon-del') %>
|
Chris@0
|
25 </td>
|
Chris@0
|
26 </tr>
|
Chris@0
|
27 <% end %>
|
Chris@0
|
28 </tbody>
|
Chris@0
|
29 </table>
|
Chris@0
|
30
|
Chris@0
|
31 <p class="pagination"><%= pagination_links_full @tracker_pages %></p>
|
Chris@0
|
32
|
Chris@0
|
33 <% html_title(l(:label_tracker_plural)) -%>
|