作业列表格式化输出,memo发帖人的名字清除浮动,防止换行

This commit is contained in:
yanxd 2014-04-14 08:37:20 +08:00
parent 634dd15be3
commit 00ded2bc38
2 changed files with 6 additions and 3 deletions

View File

@ -60,7 +60,10 @@
<% end %> <!-- <td style="color: rgb(255, 0, 0);"><strong><%= l(:label_price) %><%= l(:label_RMB_sign) %><%= bid.budget%></strong></td> --></td> <% end %> <!-- <td style="color: rgb(255, 0, 0);"><strong><%= l(:label_price) %><%= l(:label_RMB_sign) %><%= bid.budget%></strong></td> --></td>
</tr> </tr>
<tr> <tr>
<td colspan="2" width="580px" ><span class="font_description"><%= bid.description %></span></td> <td colspan="2" width="580px" ><span class="font_description">
<%#= bid.description %>
<%= textilizable bid, :description %>
</span></td>
</tr> </tr>
<tr> <tr>
<td align="left"><span class="font_lighter"><span> <%= l(:label_create_time) %> :&nbsp; <%=format_time bid.created_on %></span><span style="float: right"> <%= l(:field_deadline) %> :&nbsp; <%=bid.deadline %></span></td> <td align="left"><span class="font_lighter"><span> <%= l(:label_create_time) %> :&nbsp; <%=format_time bid.created_on %></span><span style="float: right"> <%= l(:field_deadline) %> :&nbsp; <%=bid.deadline %></span></td>

View File

@ -1,7 +1,7 @@
<div class="lz"> <div class="lz">
<div class="lz-left"> <div class="lz-left">
<div class=""><%= link_to image_tag(url_to_avatar(@memo.author), :class => "avatar"), user_path(@memo.author) %></div> <div><%= link_to image_tag(url_to_avatar(@memo.author), :class => "avatar"), user_path(@memo.author) %></div>
<p class=""><%=link_to @memo.author.name, user_path(@memo.author) %></p> <p class="clearfix"><%=link_to @memo.author.name, user_path(@memo.author) %></p>
</div> </div>
<div class="memo-section"> <div class="memo-section">
<div class="contextual-borad"> <div class="contextual-borad">