% content_for :page_specific_css do %> <%= stylesheet_link_tag "lib/list-check" %> <% end %> <% content_for :page_specific_javascript do %> <%= javascript_include_tag "lib/list-check" %> <% end %> <% if has_access? @selected_courses = SelectedCourse.where(member_profile_id: @member.id).desc(:year).page(params[:page]).per(10) else @selected_courses = SelectedCourse.where(is_hidden: false, member_profile_id: @member.id).desc(:year).page(params[:page]).per(10) end %> <% if has_access? %>
<% end -%> | <%= t('personal_selected_course.year') %> | <%= t('personal_selected_course.course_title') %> | <%= t('personal_selected_course.course_assignment') %> | <%= t('personal_selected_course.selected_course_category') %> |
---|---|---|---|---|
<%= check_box_tag 'to_change[]', selected_course.id.to_s, false, :class => "list-check" %> | <% end %><%= selected_course.year %> |
<%= link_to selected_course.course_title, OrbitHelper.url_to_plugin_show(selected_course.to_param,'personal_selected_course').to_s, target: "blank"%>
|
<%= link_to CourseAssignment.where(:course_id=>selected_course.course_id).enabled_for_student.count,show_assignments_admin_selected_courses_path(:id=> selected_course.course_id,:member_profile_name=> params[:name],:member_profile_uid=> params[:uid]) %> | <%= selected_course.course.course_category.title rescue "" %> |