index.html.erb
39 lines
| 1.1 KiB
| text/plain
|
TextLexer
|
r90 | <div class="contextual"> | ||
|
r7768 | <%= link_to l(:label_tracker_new), new_tracker_path, :class => 'icon icon-add' %> | ||
|
r10848 | <%= link_to l(:field_summary), fields_trackers_path, :class => 'icon icon-summary' %> | ||
|
r90 | </div> | ||
|
r12 | <h2><%=l(:label_tracker_plural)%></h2> | ||
|
r2 | |||
|
r105 | <table class="list"> | ||
<thead><tr> | ||||
|
r330 | <th><%=l(:label_tracker)%></th> | ||
|
r427 | <th></th> | ||
|
r206 | <th><%=l(:button_sort)%></th> | ||
|
r2 | <th></th> | ||
|
r105 | </tr></thead> | ||
<tbody> | ||||
|
r2 | <% for tracker in @trackers %> | ||
|
r5 | <tr class="<%= cycle("odd", "even") %>"> | ||
|
r7768 | <td><%= link_to h(tracker.name), edit_tracker_path(tracker) %></td> | ||
|
r10848 | <td align="center"> | ||
<% unless tracker.workflow_rules.count > 0 %> | ||||
<span class="icon icon-warning"> | ||||
<%= l(:text_tracker_no_workflow) %> (<%= link_to l(:button_edit), workflows_edit_path(:tracker_id => tracker) %>) | ||||
</span> | ||||
<% end %> | ||||
</td> | ||||
<td align="center" style="width:15%;"> | ||||
<%= reorder_links('tracker', {:action => 'update', :id => tracker}, :put) %> | ||||
</td> | ||||
|
r2758 | <td class="buttons"> | ||
|
r9754 | <%= delete_link tracker_path(tracker) %> | ||
|
r2 | </td> | ||
</tr> | ||||
<% end %> | ||||
|
r105 | </tbody> | ||
|
r2 | </table> | ||
|
r330 | |||
|
r1013 | <p class="pagination"><%= pagination_links_full @tracker_pages %></p> | ||
|
r951 | |||
|
r1019 | <% html_title(l(:label_tracker_plural)) -%> | ||