Mercurial > hg > soundsoftware-site
diff app/controllers/my_controller.rb @ 1217:875b5b4c574d cannam
Add "People I'm working with" as My Page box -- currently off by default
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Tue, 12 Mar 2013 13:01:36 +0000 |
parents | a943f341c99d |
children | 2c59ee348e2b |
line wrap: on
line diff
--- a/app/controllers/my_controller.rb Tue Mar 12 10:30:38 2013 +0000 +++ b/app/controllers/my_controller.rb Tue Mar 12 13:01:36 2013 +0000 @@ -22,6 +22,7 @@ helper :users helper :custom_fields helper :projects + helper :activities BLOCKS = { 'issuesassignedtome' => :label_assigned_to_me_issues, 'issuesreportedbyme' => :label_reported_issues, @@ -32,7 +33,8 @@ 'calendar' => :label_calendar, 'documents' => :label_document_plural, 'timelog' => :label_spent_time, - 'myprojects' => :label_my_projects + 'myprojects' => :label_my_projects, + 'colleagues' => :label_my_colleagues }.merge(Redmine::Views::MyPage::Block.additional_blocks).freeze DEFAULT_LAYOUT = { 'left' => ['myprojects', 'activitymyprojects'],