<% course_model %> <% teacher_num = teacherCount(@course) %> <% student_num = studentCount(@course) %> <% course_file_num = visable_attachemnts_incourse(@course).count%> <% is_teacher = User.current.logged? && (User.current.admin? || User.current.allowed_to?(:as_teacher,@course)) %> <%= h html_title %> <%= csrf_meta_tag %> <%= favicon %> <%= javascript_heads %> <%= heads_for_theme %> <%= call_hook :view_layouts_base_html_head %> <%= stylesheet_link_tag 'public', 'leftside', 'courses'%> <%= javascript_include_tag "course","header" %> <%= yield :header_tags -%>
<%= render :partial => 'layouts/new_header' %>

<%= l(:label_courses_community)%>

<%= l(:label_user_location) %> : <%= link_to l(:field_homepage), home_path %> > <%=l(:label_courses_management_platform)%> > <%= link_to @course.name, course_path(@course) %>

ID:<%= @course.id%>
<% if is_teacher%> <%= link_to "#{l(:button_configure)}".html_safe, {:controller => 'courses', :action => 'settings', :id => @course}, :class => "pr_join_a" %> <%= set_course_time @course%> <%= link_to "#{l(:button_copy)}".html_safe, copy_course_course_path(@course.id), :class => "pr_join_a" %> <% else%>
<%= join_in_course_header(@course, User.current) %>
<% end%>
<%= @course.name %> <% if @course.is_public == 0%> <%= l(:field_is_private)%> <% end %>
<%= l(:label_account_identity_teacher)%>(<%= course_teacher_link teacher_num %>) <%= l(:label_account_identity_student)%>(<%= course_student_link student_num %>) <%= l(:project_module_attachments)%>(<%= link_to course_file_num, course_files_path(@course), :class => 'info_foot_num c_blue' %>)
  • <%= l(:label_main_teacher)%> :  <%= link_to(@course.teacher.lastname+@course.teacher.firstname, user_path(@course.teacher), :class => 'c_dblue') %>
  • <%= l(:label_class_period)%> :  <%= @course.class_period %> <%= l(:label_class_hour) %>
  • <%= l(:label_main_term)%> :  <%= @course.time %> <%= @course.term %>
  • <% if @course.school%>
  • <%= l(:label_course_organizers)%> :  <%= @course.school%>
  • <% end%>

<%= l(:label_course_brief_introduction)%>:

<%= textilizable(@course.description) if @course.description && !@course.description.blank? %>
<%= l(:label_expend_information)%>

<%= l(:label_tag)%>:

<%= render :partial => 'tags/new_tag', :locals => {:obj => @course, :object_flag => "9"} %>
<%= render_flash_messages %> <%= yield %> <%= call_hook :view_layouts_base_content %>
<%= render :partial => 'layouts/new_footer' %>
<%= render :partial => 'layouts/new_feedback' %> <%= call_hook :view_layouts_base_body_bottom %>