#1170 修复课程主讲教师显示错误
This commit is contained in:
parent
f372b7126a
commit
85d28ba2fa
|
@ -66,19 +66,19 @@
|
|||
<table>
|
||||
<tr>
|
||||
<td style="vertical-align: top;font-size: 16px;text-align: center;">
|
||||
<span style=" word-wrap: break-word; word-break: break-all">
|
||||
<strong>
|
||||
<%= link_to course.name.to_s, homework_course_path(course) if course %>
|
||||
</strong>
|
||||
</span>
|
||||
<span style=" word-wrap: break-word; word-break: break-all">
|
||||
<strong>
|
||||
<%= link_to course.name.to_s, homework_course_path(course) if course %>
|
||||
</strong>
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style=" word-wrap: break-word; word-break: break-all;font-size: 16px;text-align: center">
|
||||
<span style=" color:#ed8924">
|
||||
<!-- modified by zjc 添加超链接 -->
|
||||
<strong><%=link_to(@bid.name, respond_path(@bid)) %></strong>
|
||||
</span>
|
||||
<span style=" color:#ed8924">
|
||||
<!-- modified by zjc 添加超链接 -->
|
||||
<strong><%=link_to(@bid.name, respond_path(@bid)) %></strong>
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@ -107,7 +107,7 @@
|
|||
|
||||
<tr>
|
||||
<td valign="top" style="padding-left: 8px; width:60px">主讲老师 :</td>
|
||||
<td class="font_lighter_sidebar"><%= link_to(@user.lastname+@user.firstname, user_path(@user)) %></td>
|
||||
<td class="font_lighter_sidebar"><%= link_to(course.teacher.lastname+course.teacher.firstname, user_path(course.teacher)) %></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
|
|
Loading…
Reference in New Issue