修改了个人主页课程列表

This commit is contained in:
huangjingquan 2013-10-12 08:53:45 +08:00
parent c49209cbfb
commit 8ce8de09cb
2 changed files with 6 additions and 6 deletions

View File

@ -49,11 +49,11 @@
<td align="right" >
<% if membership.roles.sort.collect(&:to_s).join(', ') =='Manager' %>
Teacher
老师
<% elsif membership.roles.sort.collect(&:to_s).join(', ') =='Reporter' %>
Student
学生
<% elsif membership.roles.sort.collect(&:to_s).join(', ') =='TA' %>
TA
助教
<% end %>
</td>
</tr>

View File

@ -48,11 +48,11 @@
<td align="right" >
<% if membership.roles.sort.collect(&:to_s).join(', ') =='Manager' %>
Teacher
老师
<% elsif membership.roles.sort.collect(&:to_s).join(', ') =='Reporter' %>
Student
学生
<% elsif membership.roles.sort.collect(&:to_s).join(', ') =='TA' %>
TA
助教
<% end %>
</td>
</tr>