fix showw
This commit is contained in:
parent
b6df32e029
commit
b61f3ce79f
|
@ -33,7 +33,7 @@
|
||||||
<tr>
|
<tr>
|
||||||
<td style="padding-left: 8px"><a>forge.trustie.net/courses</a></td>
|
<td style="padding-left: 8px"><a>forge.trustie.net/courses</a></td>
|
||||||
<td ><%=link_to "主页", home_path %> > <%=link_to "实践课程", :controller => 'projects', :action => 'course' %> >
|
<td ><%=link_to "主页", home_path %> > <%=link_to "实践课程", :controller => 'projects', :action => 'course' %> >
|
||||||
<span><%= link_to(@bid.courses.first.name, project_path(@bid.courses.first)) %></span> >
|
<span><%= link_to(@bid.courses.first.name.slice(0..6), project_path(@bid.courses.first)) %></span> >
|
||||||
<%=link_to(@bid.name, respond_path(@bid))%></td>
|
<%=link_to(@bid.name, respond_path(@bid))%></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
@ -44,16 +44,16 @@
|
||||||
<div class="main_context">
|
<div class="main_context">
|
||||||
<div class="spaceleft">
|
<div class="spaceleft">
|
||||||
<div>
|
<div>
|
||||||
<table style="width: 232px ; height: 80px; padding-left: 8px">
|
<table style="width: 232px ; padding-left: 8px; font-size:16px; line-height: 1.5em">
|
||||||
<tr style="font-size:16px">
|
<tr>
|
||||||
<td width="70px">课程名:</td>
|
<td style="width: 70px" >课程名:</td>
|
||||||
<td align="center">
|
<td>
|
||||||
<strong> <%= link_to @bid.courses.first.name, project_path(@bid.courses.first) %></strong>
|
<span style=" word-wrap: break-word; word-break: break-all"><strong> <%= link_to @bid.courses.first.name.slice(0..6), project_path(@bid.courses.first) %></strong></span>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr style="font-size:16px">
|
<tr style="">
|
||||||
<td width="70px">作业名:</td>
|
<td width="70px">作业名:</td>
|
||||||
<td align="center">
|
<td>
|
||||||
<span style="color:#ed8924"><strong><%= h @bid.name %></strong></span>
|
<span style="color:#ed8924"><strong><%= h @bid.name %></strong></span>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
Loading…
Reference in New Issue