Add a time tracking block for 'My page' (#615).

It lists current user's time entries for the last 7 days across all projects, grouped by day with subtotals for each day, and a grand total.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1260 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2008-03-16 12:21:54 +00:00
parent 5b6978a1f3
commit a8fcf8487d
5 changed files with 61 additions and 6 deletions
+2 -2
View File
@@ -37,8 +37,8 @@ module ApplicationHelper
user ? link_to(user, :controller => 'account', :action => 'show', :id => user) : 'Anonymous'
end
def link_to_issue(issue)
link_to "#{issue.tracker.name} ##{issue.id}", :controller => "issues", :action => "show", :id => issue
def link_to_issue(issue, options={})
link_to "#{issue.tracker.name} ##{issue.id}", {:controller => "issues", :action => "show", :id => issue}, options
end
def toggle_link(name, id, options={})