shang
This commit is contained in:
parent
35d1c33a29
commit
3097f23c06
|
@ -19,11 +19,11 @@
|
|||
@nav_dispaly_contest_label = 1
|
||||
elsif (realUrl.match(/course\.trustie\.net/))
|
||||
@nav_dispaly_course_all_label = 1
|
||||
@nav_dispaly_teacher_all_label = 1
|
||||
# @nav_dispaly_teacher_all_label = 1
|
||||
@nav_dispaly_forum_label = 1
|
||||
elsif (realUrl.match(/user\.trustie\.net/))
|
||||
@nav_dispaly_project_label = 1
|
||||
@nav_dispaly_user_label = 1
|
||||
# @nav_dispaly_user_label = 1
|
||||
@nav_dispaly_forum_label = 1
|
||||
elsif (realUrl.match(/forge\.trustie\.net/))
|
||||
@nav_dispaly_project_label = 1
|
||||
|
|
|
@ -122,11 +122,13 @@
|
|||
(<%= link_to "#{studentCount(project)}人", project_member_path(project, :role => 2) ,:course =>'1' %>)
|
||||
</div>
|
||||
<div class='desc_item' style="">
|
||||
<span class='font_bolder'>
|
||||
<%=l :label_main_teacher%>: <%=Course.find_by_extra(project.identifier).try(:teacher).try(:name)%>
|
||||
<span class=''>
|
||||
<% course = Course.find_by_extra(project.identifier) %>
|
||||
<%= course.teacher.user_extensions.occupation.try(:gsub, /(.+)$/, '\1:') %>
|
||||
</span>
|
||||
<span class='font_italic'>
|
||||
<%= Course.find_by_extra(project.identifier).teacher.user_extensions.occupation %>
|
||||
<span class='font_bolder'>
|
||||
<%= link_to(course.try(:teacher).try(:name), user_path(course.teacher)) %>
|
||||
<%#=course.try(:teacher).try(:name)%>
|
||||
</span>
|
||||
</div>
|
||||
<!-- <div class='desc_item' style="">
|
||||
|
|
Loading…
Reference in New Issue