修改作业左上角课程、作业名称显示
This commit is contained in:
parent
f149dd3a57
commit
8fbbbe82e0
|
@ -79,7 +79,7 @@
|
|||
<td style="vertical-align: top;font-size: 15px;">
|
||||
<span style=" word-wrap: break-word; word-break: break-all">
|
||||
<strong>
|
||||
<%= link_to course.name.to_s, homework_course_path(course) if course %>
|
||||
<%= link_to "返回课程主页", homework_course_path(course) if course %>
|
||||
</strong>
|
||||
</span>
|
||||
</td>
|
||||
|
@ -87,7 +87,9 @@
|
|||
<tr>
|
||||
<td style=" word-wrap: break-word; word-break: break-all;font-size: 15px;">
|
||||
<span style=" color:#ed8924">
|
||||
<strong><%=link_to(@bid.name, course_for_bid_path(@bid)) %></strong>
|
||||
<strong>
|
||||
<%=link_to("第#{course.homeworks.index(@bid) + 1}次作业", course_for_bid_path(@bid)) %>
|
||||
</strong>
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
Loading…
Reference in New Issue