side bar for calendar fixed.
This commit is contained in:
parent
39fe8162b1
commit
2de03c694f
|
@ -23,7 +23,7 @@ module CalendarNew
|
||||||
side_bar do
|
side_bar do
|
||||||
head_label_i18n 'calendar.calendar',:icon_class=>"icons-calendar"
|
head_label_i18n 'calendar.calendar',:icon_class=>"icons-calendar"
|
||||||
available_for [:admin,:guest,:manager,:sub_manager]
|
available_for [:admin,:guest,:manager,:sub_manager]
|
||||||
active_for_controllers ({:private=>['events'],:public=>['panel/calendar_new/back_end/tags']})
|
active_for_controllers ({:private=>['events','event_categories'],:public=>['panel/calendar_new/back_end/tags']})
|
||||||
|
|
||||||
|
|
||||||
head_link_path "panel_calendar_new_back_end_events_path"
|
head_link_path "panel_calendar_new_back_end_events_path"
|
||||||
|
@ -42,7 +42,7 @@ module CalendarNew
|
||||||
context_link 'calendar.categories',
|
context_link 'calendar.categories',
|
||||||
:link_path=>"panel_calendar_new_back_end_event_categories_path" ,
|
:link_path=>"panel_calendar_new_back_end_event_categories_path" ,
|
||||||
:priority=>3,
|
:priority=>3,
|
||||||
:active_for_tag => 'CalendarNew',
|
:active_for_category => 'CalendarNew',
|
||||||
:available_for => [:manager]
|
:available_for => [:manager]
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue