|
|
|
@ -16,7 +16,7 @@
|
|
|
|
|
<%= content_tag('span', "#{l(:label_institution_name)}:", :class => "course-font")%>
|
|
|
|
|
<% @admin = @course.course_infos%>
|
|
|
|
|
<%if @admin&&@admin.first&&@admin.first.user&&@admin.first.user.user_extensions%>
|
|
|
|
|
<!-- <%= @admin.first.user.user_extensions.occupation %> -->
|
|
|
|
|
<!-- <%#= @admin.first.user.user_extensions.occupation %> -->
|
|
|
|
|
<% unless @course.teacher.user_extensions.school.nil? %>
|
|
|
|
|
<%= link_to @course.teacher.user_extensions.school.try(:name), school_course_list_path(@course.teacher.user_extensions.school) %>
|
|
|
|
|
<% end %>
|
|
|
|
@ -28,7 +28,7 @@
|
|
|
|
|
<%= content_tag('a', @admin.collect{|u| link_to(u.user.lastname+u.user.firstname, user_path(u.user_id))}.join(", ").html_safe) %>
|
|
|
|
|
<% end %>
|
|
|
|
|
</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="information_for_course" >
|
|
|
|
@ -76,6 +76,10 @@
|
|
|
|
|
|
|
|
|
|
<div class="add-info" style="margin-left: 30px; margin-top: -20px">
|
|
|
|
|
<%= content_tag "span", "#{l(:label_course_brief_introduction)}:", :class => "course-font" %>
|
|
|
|
|
<%# desc = course.short_description.nil? ? "" : course.short_description%>
|
|
|
|
|
<!--<#div class="brief_introduction" title="<%#= desc.html_safe%>">
|
|
|
|
|
<%#= desc.html_safe%>
|
|
|
|
|
</div>-->
|
|
|
|
|
<%= content_tag "div", course.short_description, :class => "brief_introduction", :title => course.short_description %>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|