|
|
|
@ -125,7 +125,7 @@
|
|
|
|
|
<span style="cursor: pointer; display: inline-block; float: right; color: #ec6300; white-space: nowrap;">学生人数:<%= link_to "#{studentCount(project)}", project_member_path(project, :role => 2) ,:course =>'1', :target => "_blank" %></span>
|
|
|
|
|
|
|
|
|
|
<div id='join_in_course' style='margin: 0px 4px;display:inline-block;float:right;color:#ff4800;'>
|
|
|
|
|
<%if User.current.logged? %>
|
|
|
|
|
<%if User.current.logged? && !(course_timeout? project)%>
|
|
|
|
|
<%= join_in_course(project, User.current) unless project.course_extra.teacher.id == User.current.id %>
|
|
|
|
|
<% end %>
|
|
|
|
|
</div>
|
|
|
|
|