Mercurial > hg > soundsoftware-site
annotate app/views/trackers/.svn/text-base/index.html.erb.svn-base @ 315:fd027311814a cannam-pre-20110113-merge
Merge from branch "live"
author | Chris Cannam |
---|---|
date | Mon, 28 Mar 2011 18:05:43 +0100 |
parents | 513646585e45 |
children |
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)) -%> |