2013-09-12 17:19:51 +08:00
|
|
|
<!-- added by fq -->
|
2013-10-10 21:33:52 +08:00
|
|
|
<!--huang-->
|
|
|
|
<% if @user.user_extensions.identity == 0 %> <!-- for teacher-->
|
|
|
|
<%= render :partial => 'my_course' %>
|
|
|
|
<% else %> <!--for student-->
|
|
|
|
<%= render :partial => 'my_joinedcourse' %>
|
|
|
|
<% end %>
|