Mercurial > hg > soundsoftware-site
comparison app/views/trackers/index.html.erb @ 1298:4f746d8966dd redmine_2.3_integration
Merge from redmine-2.3 branch to create new branch redmine-2.3-integration
author | Chris Cannam |
---|---|
date | Fri, 14 Jun 2013 09:28:30 +0100 |
parents | 622f24f53b42 |
children |
comparison
equal
deleted
inserted
replaced
1297:0a574315af3e | 1298:4f746d8966dd |
---|---|
1 <div class="contextual"> | 1 <div class="contextual"> |
2 <%= link_to l(:label_tracker_new), new_tracker_path, :class => 'icon icon-add' %> | 2 <%= link_to l(:label_tracker_new), new_tracker_path, :class => 'icon icon-add' %> |
3 <%= link_to l(:field_summary), {:action => 'fields'}, :class => 'icon icon-summary' %> | 3 <%= link_to l(:field_summary), fields_trackers_path, :class => 'icon icon-summary' %> |
4 </div> | 4 </div> |
5 | 5 |
6 <h2><%=l(:label_tracker_plural)%></h2> | 6 <h2><%=l(:label_tracker_plural)%></h2> |
7 | 7 |
8 <table class="list"> | 8 <table class="list"> |
14 </tr></thead> | 14 </tr></thead> |
15 <tbody> | 15 <tbody> |
16 <% for tracker in @trackers %> | 16 <% for tracker in @trackers %> |
17 <tr class="<%= cycle("odd", "even") %>"> | 17 <tr class="<%= cycle("odd", "even") %>"> |
18 <td><%= link_to h(tracker.name), edit_tracker_path(tracker) %></td> | 18 <td><%= link_to h(tracker.name), edit_tracker_path(tracker) %></td> |
19 <td align="center"><% unless tracker.workflow_rules.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> | 19 <td align="center"> |
20 <td align="center" style="width:15%;"><%= reorder_links('tracker', {:action => 'update', :id => tracker}, :put) %></td> | 20 <% unless tracker.workflow_rules.count > 0 %> |
21 <span class="icon icon-warning"> | |
22 <%= l(:text_tracker_no_workflow) %> (<%= link_to l(:button_edit), workflows_edit_path(:tracker_id => tracker) %>) | |
23 </span> | |
24 <% end %> | |
25 </td> | |
26 <td align="center" style="width:15%;"> | |
27 <%= reorder_links('tracker', {:action => 'update', :id => tracker}, :put) %> | |
28 </td> | |
21 <td class="buttons"> | 29 <td class="buttons"> |
22 <%= delete_link tracker_path(tracker) %> | 30 <%= delete_link tracker_path(tracker) %> |
23 </td> | 31 </td> |
24 </tr> | 32 </tr> |
25 <% end %> | 33 <% end %> |