列表显示改进

This commit is contained in:
william 2013-08-03 21:47:52 +08:00
parent 61490f5008
commit 36b2e005c7
3 changed files with 10 additions and 2 deletions

View File

@ -72,10 +72,15 @@
<li id="issue-<%= issue.id %>" class="hascontextmenu-1 <%= issue.css_classes %> <%= level > 0 ? "idnt idnt-#{level}" : nil %>">
<% column_content = ( query.inline_columns.map {|column| "#{column_content_new(column, issue)}"}) %>
<% if issue.tracker.name == 'Bug' %>
<%= image_tag("/images/task.png", :class => "img-tag-issues") %>
<% end %>
<% if issue.tracker.name == '任务'%>
<%= image_tag("/images/issues.png", :class => "img-tag-issues") %>
<% end %>
<ul class="issue_list">
<ul class="list-group-item-meta">
<span><%= link_to issue.author.name, user_path(issue.author), :class => "bid_user" %></span><%= l(:label_post_on)%><span>
<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[0]}" << "(#{raw column_content[2]}):" << column_content[4] %>

BIN
public/images/task.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

View File

@ -1480,7 +1480,7 @@ li.issue img.img-tag-issues {
div.issue-list-description {
margin-left: 0px;
color: rgb(72, 72, 72);
overflow: hiddedn;
overflow: hidden;
word-wrap: nowrap;
font-size: small;
}
@ -1488,6 +1488,9 @@ div.issue-list-description {
div.find-comment-class {
float: right;
}
a.bid_user_u {
color: rgb(72, 72, 72);
}
/*
*/