列表样式修改

This commit is contained in:
nieguanghui 2013-08-03 22:06:07 +08:00
parent 36b2e005c7
commit d521f95354
1 changed files with 4 additions and 2 deletions

View File

@ -19,7 +19,8 @@
</div>
<% end %>
<%= avatar(@issue.author, :size => "50") %>
<!-- <%= avatar(@issue.author, :size => "50") %> -->
<div class="subject">
@ -42,7 +43,8 @@
rows.left l(:field_priority), h(@issue.priority.name), :class => 'priority'
unless @issue.disabled_core_fields.include?('assigned_to_id')
rows.left l(:field_assigned_to), avatar(@issue.assigned_to, :size => "14").to_s.html_safe + (@issue.assigned_to ? link_to_user(@issue.assigned_to) : "-"), :class => 'assigned-to'
#modified by nie
rows.left l(:field_assigned_to), (image_tag url_to_avatar(@issue.author), :class => 'avatar').to_s.html_safe + (@issue.assigned_to ? link_to_user(@issue.assigned_to) : "-"), :class => 'assigned-to'
end
unless @issue.disabled_core_fields.include?('category_id')
rows.left l(:field_category), h(@issue.category ? @issue.category.name : "-"), :class => 'category'