Mercurial > hg > soundsoftware-site
diff app/controllers/my_controller.rb @ 344:1a514b9347d4 feature_121
Add Recent Activity partial, include it as a block in My Page (on by default) and in the project information page
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Thu, 31 Mar 2011 15:19:30 +0100 |
parents | f9fe5ef6156e |
children | ce85aa993384 |
line wrap: on
line diff
--- a/app/controllers/my_controller.rb Thu Mar 31 11:13:21 2011 +0100 +++ b/app/controllers/my_controller.rb Thu Mar 31 15:19:30 2011 +0100 @@ -24,14 +24,15 @@ BLOCKS = { 'issuesassignedtome' => :label_assigned_to_me_issues, 'issuesreportedbyme' => :label_reported_issues, 'issueswatched' => :label_watched_issues, + 'activitymyprojects' => :label_activity_my_recent, 'news' => :label_news_latest, 'calendar' => :label_calendar, 'documents' => :label_document_plural, 'timelog' => :label_spent_time }.merge(Redmine::Views::MyPage::Block.additional_blocks).freeze - DEFAULT_LAYOUT = { 'left' => ['issuesassignedtome'], - 'right' => ['issuesreportedbyme'] + DEFAULT_LAYOUT = { 'left' => ['activitymyprojects'], + 'right' => ['issueswatched','calendar'] }.freeze verify :xhr => true,