diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-08-31 16:34:54 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-08-31 16:34:54 +0000 |
commit | 696d21f8c8c88d487df46112082fcb1d9b5f6ec2 (patch) | |
tree | 5a4addd08ae94b062f042ae4de3bb1f18fce868e /app/helpers/timelog_helper.rb | |
parent | dbad26c87db8247c0d635c993981d4277e165978 (diff) | |
download | redmine-696d21f8c8c88d487df46112082fcb1d9b5f6ec2.tar.gz redmine-696d21f8c8c88d487df46112082fcb1d9b5f6ec2.zip |
Adds cross-project time reports support (#994).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1778 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers/timelog_helper.rb')
-rw-r--r-- | app/helpers/timelog_helper.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/helpers/timelog_helper.rb b/app/helpers/timelog_helper.rb index 2c1225a7c..f55a8ffe7 100644 --- a/app/helpers/timelog_helper.rb +++ b/app/helpers/timelog_helper.rb @@ -16,6 +16,14 @@ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. module TimelogHelper + def render_timelog_breadcrumb + links = [] + links << link_to(l(:label_project_all), {:project_id => nil, :issue_id => nil}) + links << link_to(h(@project), {:project_id => @project, :issue_id => nil}) if @project + links << link_to_issue(@issue) if @issue + breadcrumb links + end + def activity_collection_for_select_options activities = Enumeration::get_values('ACTI') collection = [] |