From 8924d4f047a20e3618bc20a9dbc84977bb0d431b Mon Sep 17 00:00:00 2001 From: saurabhbhatia Date: Mon, 22 Jul 2013 10:20:29 +0800 Subject: [PATCH] Fixed the sidebar order in calendar module Conflicts: vendor/built_in_modules/calendar_new/init.rb --- vendor/built_in_modules/calendar_new/init.rb | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/vendor/built_in_modules/calendar_new/init.rb b/vendor/built_in_modules/calendar_new/init.rb index 11695f673..58517f9e5 100644 --- a/vendor/built_in_modules/calendar_new/init.rb +++ b/vendor/built_in_modules/calendar_new/init.rb @@ -31,13 +31,7 @@ module CalendarNew context_link 'calendar.categories', :link_path=>"admin_module_app_categories_path(get_module_app)" , - :priority=>3, - :active_for_category => 'CalendarNew', - :available_for => [:manager] - - context_link 'calendar.categories', - :link_path=>"admin_module_app_categories_path(get_module_app)" , - :priority=>3, + :priority=>2, :active_for_category => 'CalendarNew', :available_for => [:manager] context_link 'tags', @@ -51,6 +45,11 @@ module CalendarNew :priority=>6, :available_for => [:manager] + context_link 'calendar.color', + :link_path=>"panel_calendar_new_back_end_event_categories_path" , + :priority=>3, + :active_for_tag => 'CalendarNew', + :available_for => [:manager] end end end