修改活动列表描述只显示一行

This commit is contained in:
nieguanghui 2013-08-16 20:23:26 +08:00
parent 525cd70b62
commit 4d4101efcf
5 changed files with 7 additions and 1 deletions

View File

@ -90,12 +90,14 @@
<% end %> <% end %>
<ul class="issue_list"> <ul class="issue_list">
<% unless issue.author.nil? || issue.author.name == "Anonymouse" %>
<ul class="list-group-item-meta"> <ul class="list-group-item-meta">
<span> <%= link_to issue.author.name, user_path(issue.author), :class => "bid_user_u" %></span><%= l(:label_post_on)%> <span> <% a = [] %> <span> <%= link_to issue.author.name, user_path(issue.author), :class => "bid_user_u" %></span><%= l(:label_post_on)%> <span> <% a = [] %>
<% a << column_content[1] %> <% a << column_content[1] %>
<% a << "##{column_content[0]}" << "(#{raw column_content[2]}):" << column_content[4] %> <% a << "##{column_content[0]}" << "(#{raw column_content[2]}):" << column_content[4] %>
<%= link_to a.join(' '), issue_path(issue), :class => "issue-link" %> <%= link_to a.join(' '), issue_path(issue), :class => "issue-link" %>
</ul> </ul>
<% end -%>
<ul class="list-group-item-meta"> <ul class="list-group-item-meta">
<div class="issue-list-description"> <div class="issue-list-description">
<%= l(:field_description)%>:<%= issue.description %> <%= l(:field_description)%>:<%= issue.description %>

View File

@ -2,6 +2,7 @@
<div id="activity"> <div id="activity">
<% @activity.each do |e| %> <% @activity.each do |e| %>
<% act = e.act %> <% act = e.act %>
<% unless act.nil? %>
<table width="660" border="0" align="left" style="border-bottom: 1px dashed rgb(204, 204, 204); margin-bottom: 10px;"> <table width="660" border="0" align="left" style="border-bottom: 1px dashed rgb(204, 204, 204); margin-bottom: 10px;">
<tr> <tr>
<!-- fq --> <!-- fq -->
@ -107,6 +108,7 @@
</table></td> </table></td>
</tr> </tr>
</table> </table>
<% end %>
<% end %> <% end %>

BIN
public/images/feature.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

View File

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB

View File

@ -1590,8 +1590,10 @@ div.issue-list-description {
margin-left: 0px; margin-left: 0px;
color: rgb(72, 72, 72); color: rgb(72, 72, 72);
overflow: hidden; overflow: hidden;
word-wrap: nowrap; white-space: nowrap;
font-size: small; font-size: small;
text-overflow: ellipsis;
-o-text-overflow: ellipsis;
} }
div.find-comment-class { div.find-comment-class {