index.html.erb
37 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") %>"> | ||
|
r13661 | <td class="name"><%= link_to tracker.name, edit_tracker_path(tracker) %></td> | ||
|
r12038 | <td> | ||
|
r10848 | <% 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> | ||||
|
r12035 | <td class="reorder"> | ||
|
r13471 | <%= reorder_links('tracker', {:action => 'update', :id => tracker, :page => params[:page]}, :put) %> | ||
|
r10848 | </td> | ||
|
r2758 | <td class="buttons"> | ||
|
r9754 | <%= delete_link tracker_path(tracker) %> | ||
|
r2 | </td> | ||
</tr> | ||||
<% end %> | ||||
|
r105 | </tbody> | ||
|
r2 | </table> | ||
|
r330 | |||
|
r1019 | <% html_title(l(:label_tracker_plural)) -%> | ||