projects_tree_view icon indicating copy to clipboard operation
projects_tree_view copied to clipboard

Spent time-link on a project's overview-page is wrong

Open hertell opened this issue 14 years ago • 1 comments

Hi,

The time-links do not show up correctly on the project's overview-pagee. The following patch should fix it:

--- show.rhtml 2011-04-11 11:35:17.000000000 +0300 +++ projects_tree_view/app/views/projects/show.rhtml 2011-04-11 12:02:57.000000000 +0300 @@ -110,8 +110,8 @@ <% if @total_hours && User.current.allowed_to?(:view_time_entries, @project) %>

<%= l(:label_spent_time) %>

<%= l_hours(@total_hours) %>

  • 'timelog', :action => 'details', :project_id => @project}) %> |

  • <%= link_to(l(:label_report), {:controller => 'timelog', :action => 'report', :project_id => @project}) %>
  • 'timelog', :action => 'index', :project_id => @project}) %> |

  • <%= link_to(l(:label_report), {:controller => 'time_entry_reports', :action => 'report', :project_id => @project}) %> <% end %> <%= call_hook(:view_projects_show_sidebar_bottom, :project => @project) %> <% end %>

hertell avatar Apr 11 '11 09:04 hertell

See pull request for a fix.

dubcanada avatar Nov 18 '11 15:11 dubcanada