修改活动列表描述只显示一行
This commit is contained in:
parent
525cd70b62
commit
4d4101efcf
|
@ -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 %>
|
||||||
|
|
|
@ -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 %>
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 3.0 KiB |
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue