<%# course_model %> <% teacher_num = searchTeacherAndAssistant(@course).count %> <% 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 'jquery/jquery-ui-1.9.2','public', 'leftside','prettify', 'courses','header'%> <%= javascript_include_tag "course","header","attachments",'prettify' %> <%= yield :header_tags -%>
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',:id=>'courses_files_count_info' %>)
  • <%= 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"} %>
<%= yield %> <%#= render_flash_messages %> <%#= call_hook :view_layouts_base_content %>
<%= render :partial => 'layouts/footer' %>
<%= render :partial => 'layouts/new_feedback' %> <%= call_hook :view_layouts_base_body_bottom %>