fix showw

This commit is contained in:
xianbo 2013-11-05 12:54:48 +08:00
parent b6df32e029
commit b61f3ce79f
1 changed files with 8 additions and 8 deletions

View File

@ -33,7 +33,7 @@
<tr>
<td style="padding-left: 8px"><a>forge.trustie.net/courses</a></td>
<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>
</tr>
</table>
@ -44,16 +44,16 @@
<div class="main_context">
<div class="spaceleft">
<div>
<table style="width: 232px ; height: 80px; padding-left: 8px">
<tr style="font-size:16px">
<td width="70px">课程名:</td>
<td align="center">
<strong> <%= link_to @bid.courses.first.name, project_path(@bid.courses.first) %></strong>
<table style="width: 232px ; padding-left: 8px; font-size:16px; line-height: 1.5em">
<tr>
<td style="width: 70px" >课程名:</td>
<td>
<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>
</tr>
<tr style="font-size:16px">
<tr style="">
<td width="70px">作业名:</td>
<td align="center">
<td>
<span style="color:#ed8924"><strong><%= h @bid.name %></strong></span>
</td>
</tr>