Mercurial > hg > soundsoftware-site
annotate .svn/pristine/eb/eb69c2ca8a8f994d660e1f0618205141bdb05f6b.svn-base @ 1621:3a510bf6a9bc
Merge from live branch
author | Chris Cannam |
---|---|
date | Fri, 13 Jul 2018 10:44:33 +0100 |
parents | cbb26bc654de |
children |
rev | line source |
---|---|
Chris@909 | 1 <div class="contextual"> |
Chris@909 | 2 <%= link_to l(:label_tracker_new), new_tracker_path, :class => 'icon icon-add' %> |
Chris@909 | 3 </div> |
Chris@909 | 4 |
Chris@909 | 5 <h2><%=l(:label_tracker_plural)%></h2> |
Chris@909 | 6 |
Chris@909 | 7 <table class="list"> |
Chris@909 | 8 <thead><tr> |
Chris@909 | 9 <th><%=l(:label_tracker)%></th> |
Chris@909 | 10 <th></th> |
Chris@909 | 11 <th><%=l(:button_sort)%></th> |
Chris@909 | 12 <th></th> |
Chris@909 | 13 </tr></thead> |
Chris@909 | 14 <tbody> |
Chris@909 | 15 <% for tracker in @trackers %> |
Chris@909 | 16 <tr class="<%= cycle("odd", "even") %>"> |
Chris@909 | 17 <td><%= link_to h(tracker.name), edit_tracker_path(tracker) %></td> |
Chris@909 | 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@909 | 19 <td align="center" style="width:15%;"><%= reorder_links('tracker', {:action => 'update', :id => tracker}, :put) %></td> |
Chris@909 | 20 <td class="buttons"> |
Chris@909 | 21 <%= link_to(l(:button_delete), tracker_path(tracker), |
Chris@909 | 22 :method => :delete, |
Chris@909 | 23 :confirm => l(:text_are_you_sure), |
Chris@909 | 24 :class => 'icon icon-del') %> |
Chris@909 | 25 </td> |
Chris@909 | 26 </tr> |
Chris@909 | 27 <% end %> |
Chris@909 | 28 </tbody> |
Chris@909 | 29 </table> |
Chris@909 | 30 |
Chris@909 | 31 <p class="pagination"><%= pagination_links_full @tracker_pages %></p> |
Chris@909 | 32 |
Chris@909 | 33 <% html_title(l(:label_tracker_plural)) -%> |