app/controllers/championships_controller.rb
# Season calendar for a given fin supermaster season
#
Season calendar for a given fin supermaster season
Season calendar for a given fin supermaster season
def calendar_supermaster_fin
    @title = I18n.t('championships.calendar') + ' ' + @season.get_full_name
    @calendarMeetingPicker = CalendarMeetingPicker.new( nil, nil, @season )
    @calendarDAO = @calendarMeetingPicker.pick_meetings( 'DESC', false, current_user)
    @meetings = @calendarDAO.get_paginated_meetings( params[:page] || 1 )
  end
def calendar_supermaster_fin @title = I18n . t ( 'championships.calendar' ) + ' ' + @season . get_full_name @calendarMeetingPicker = CalendarMeetingPicker . new ( nil , nil , @season ) @calendarDAO = @calendarMeetingPicker . pick_meetings ( 'DESC' , false , current_user ) @meetings = @calendarDAO . get_paginated_meetings ( params [ :page ] || 1 ) end
Season calendar for a given fin supermaster season
Season calendar for a given fin supermaster season
# TODO # Calculate the current page according to the position of meetings # for current date