修改了个人主页课程列表
This commit is contained in:
parent
c49209cbfb
commit
8ce8de09cb
|
@ -49,11 +49,11 @@
|
||||||
<td align="right" >
|
<td align="right" >
|
||||||
|
|
||||||
<% if membership.roles.sort.collect(&:to_s).join(', ') =='Manager' %>
|
<% if membership.roles.sort.collect(&:to_s).join(', ') =='Manager' %>
|
||||||
Teacher
|
老师
|
||||||
<% elsif membership.roles.sort.collect(&:to_s).join(', ') =='Reporter' %>
|
<% elsif membership.roles.sort.collect(&:to_s).join(', ') =='Reporter' %>
|
||||||
Student
|
学生
|
||||||
<% elsif membership.roles.sort.collect(&:to_s).join(', ') =='TA' %>
|
<% elsif membership.roles.sort.collect(&:to_s).join(', ') =='TA' %>
|
||||||
TA
|
助教
|
||||||
<% end %>
|
<% end %>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
|
@ -48,11 +48,11 @@
|
||||||
<td align="right" >
|
<td align="right" >
|
||||||
|
|
||||||
<% if membership.roles.sort.collect(&:to_s).join(', ') =='Manager' %>
|
<% if membership.roles.sort.collect(&:to_s).join(', ') =='Manager' %>
|
||||||
Teacher
|
老师
|
||||||
<% elsif membership.roles.sort.collect(&:to_s).join(', ') =='Reporter' %>
|
<% elsif membership.roles.sort.collect(&:to_s).join(', ') =='Reporter' %>
|
||||||
Student
|
学生
|
||||||
<% elsif membership.roles.sort.collect(&:to_s).join(', ') =='TA' %>
|
<% elsif membership.roles.sort.collect(&:to_s).join(', ') =='TA' %>
|
||||||
TA
|
助教
|
||||||
<% end %>
|
<% end %>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
Loading…
Reference in New Issue