学生姓名颜色调整

匿评列表学号显示--
This commit is contained in:
sw 2015-06-06 12:11:19 +08:00
parent 3b954dfd16
commit 6a997bace3
2 changed files with 5 additions and 3 deletions

View File

@ -6,13 +6,15 @@
<span> <span>
<%= student_work.user.user_extensions.nil? ? "--" : student_work.user.user_extensions.student_id%> <%= student_work.user.user_extensions.nil? ? "--" : student_work.user.user_extensions.student_id%>
</span> </span>
<% else%>
<span class="ml30">--</span>
<% end%> <% end%>
</li> </li>
<li class="hwork_name"> <li class="hwork_name">
<% if is_my_work%> <% if is_my_work%>
<%= link_to student_work.user.show_name,user_path(student_work.user),:title => student_work.user.show_name %> <%= link_to student_work.user.show_name,user_path(student_work.user),:title => student_work.user.show_name, :class => "c_blue02" %>
<% else%> <% else%>
<%= link_to "匿名","javascript:void(0)"%> <%= link_to "匿名","javascript:void(0)", :class => "c_blue02"%>
<% end%> <% end%>
</li> </li>
<li class=" hwork_tit_e" style="width: 410px"> <li class=" hwork_tit_e" style="width: 410px">

View File

@ -6,7 +6,7 @@
</span> </span>
</li> </li>
<li class=" hwork_name "> <li class=" hwork_name ">
<%= link_to student_work.user.show_name,user_path(student_work.user),:title => student_work.user.show_name%> <%= link_to student_work.user.show_name,user_path(student_work.user),:title => student_work.user.show_name, :class => "c_blue02"%>
</li> </li>
<li class=" hwork_tit"> <li class=" hwork_tit">
<%= link_to student_work.name, student_work_path(student_work),:remote => true,:title => student_work.name, :class => "c_blue02"%> <%= link_to student_work.name, student_work_path(student_work),:remote => true,:title => student_work.name, :class => "c_blue02"%>