Mercurial > hg > soundsoftware-site
diff 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 |
line wrap: on
line diff
--- a/app/views/trackers/index.html.erb Fri Jun 14 09:07:32 2013 +0100 +++ b/app/views/trackers/index.html.erb Fri Jun 14 09:28:30 2013 +0100 @@ -1,6 +1,6 @@ <div class="contextual"> <%= link_to l(:label_tracker_new), new_tracker_path, :class => 'icon icon-add' %> -<%= link_to l(:field_summary), {:action => 'fields'}, :class => 'icon icon-summary' %> +<%= link_to l(:field_summary), fields_trackers_path, :class => 'icon icon-summary' %> </div> <h2><%=l(:label_tracker_plural)%></h2> @@ -16,8 +16,16 @@ <% for tracker in @trackers %> <tr class="<%= cycle("odd", "even") %>"> <td><%= link_to h(tracker.name), edit_tracker_path(tracker) %></td> - <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> - <td align="center" style="width:15%;"><%= reorder_links('tracker', {:action => 'update', :id => tracker}, :put) %></td> + <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> <td class="buttons"> <%= delete_link tracker_path(tracker) %> </td>