修改了部分小bug

This commit is contained in:
huangjingquan 2013-09-16 10:56:37 +08:00
parent 17dc3bc3a9
commit 960b59c807
3 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@
<td width="50" valign="top"><%= link_to image_tag(url_to_avatar(@bid.author), :class => "avatar"), user_path(@bid.author), :class => "avatar" %></td> <td width="50" valign="top"><%= link_to image_tag(url_to_avatar(@bid.author), :class => "avatar"), user_path(@bid.author), :class => "avatar" %></td>
<td><table width="100%" border="0"> <td><table width="100%" border="0">
<tr> <tr>
<td><h3><%= link_to(@bid.author.firstname+@bid.author.lastname, user_path(@bid.author))%><%= @bid.name %></h3></td> <td><h3><%= link_to(@bid.author.lastname+@bid.author.firstname, user_path(@bid.author))%><%= @bid.name %></h3></td>
<td> <td>
<!-- 在这里添加赞和踩--> <!-- 在这里添加赞和踩-->
<span id="praise_tread" style="float: right"> <span id="praise_tread" style="float: right">

View File

@ -73,7 +73,7 @@
</tr> --> </tr> -->
<tr> <tr>
<td valign="top" style="padding-left: 8px;">主讲老师:</td><td class="font_lighter_sidebar"><%= @course.teacher.firstname+@course.teacher.lastname %></td> <td valign="top" style="padding-left: 8px;">主讲老师:</td><td class="font_lighter_sidebar"><%=@course.teacher.lastname+@course.teacher.firstname %></td>
</tr> </tr>
<tr> <tr>

View File

@ -46,7 +46,7 @@
</table> </table>
<table> <table>
<tr> <tr>
<td><%= l(:label_teacher) %> : <%= link_to(@user.firstname+@user.lastname, user_path(@user))%></td> <td><%= l(:label_teacher) %> : <%= link_to(@user.lastname+@user.firstname, user_path(@user))%></td>
</tr> </tr>
<tr> <tr>
<td><%= l(:label_course_homework) %> : <%= link_to(@bid.courses.first.name, project_path(@bid.courses.first))%></td> <td><%= l(:label_course_homework) %> : <%= link_to(@bid.courses.first.name, project_path(@bid.courses.first))%></td>