Sha256: 0e95aeebc4bf8b9698516d61a9ed809366d004411e7b3ed24682e706be2910cc

Contents?: true

Size: 725 Bytes

Versions: 4

Compression:

Stored size: 725 Bytes

Contents

= render partial: 'course_category', locals: { course_category: @course_category, date: @date, course_dates: @course_dates }

.course_category-calendar{ id: "course_category-#{@course_category.to_param}" }
  - if @course_category.courses.any?
    / %h2= t('.calendar_heading', month: l(@date, format: :month_with_year))
    / = month_calendar_pagination(@date)
    / = month_calendar @date, @course_dates, display_method: :course, start_day: :monday

%p
  - if @course_category.root?
    = link_to(t('ecm.courses.course_category.actions.back_to_index'), course_categories_path) if respond_to?(:course_categories_path)
  - else
    = link_to(Ecm::Courses::CourseCategory.human_attribute_name(:parent), @course_category.parent)

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ecm_courses2-0.2.2 app/views/ecm/courses/course_categories/show.haml
ecm_courses2-0.2.1 app/views/ecm/courses/course_categories/show.haml
ecm_courses2-0.2.0 app/views/ecm/courses/course_categories/show.haml
ecm_courses2-0.1.0 app/views/ecm/courses/course_categories/show.haml