Sha256: 03f2d6426435de6ba1274911b09d0bc909e5311d98ab19a525c31eb80bb665cd
Contents?: true
Size: 1.07 KB
Versions: 2
Compression:
Stored size: 1.07 KB
Contents
.course_category{:id => "course_category-#{course_category.id}"} - if action_name == 'show' %h1.courses_category-name= course_category.name - else %h2.courses_category-name= course_category.name .course_categories-tree.bottom-margin-4 = nested_li(course_category.descendants, {}) do |course_category, level| = link_to course_category.tree_name, course_category - unless course_category.description.blank? .course_categories-description %p= course_category.description .course_category-courses.bottom-margin-4 - if course_category.courses_count == 0 = t('ecm.courses.course_category.messages.no_courses_available') %hr/ - else = render course_category.courses - if action_name == 'show' .course-calendar.bottom-margin-4 = month_calendar_pagination(date) = month_calendar date, course_dates, display_method: :course, start_day: :monday .bottom-margin-4 = link_to(url_for(format: :ics, nocache: true), class: 'btn btn-default') do %span.glyphicon.glyphicon-calendar = url_for(format: :ics)
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ecm_courses2-1.1.4 | app/views/ecm/courses/course_categories/_course_category.haml |
ecm_courses2-1.1.3 | app/views/ecm/courses/course_categories/_course_category.haml |