diff --git a/app/views/issues/show.html.erb b/app/views/issues/show.html.erb index 6e0609d6a..67035468a 100644 --- a/app/views/issues/show.html.erb +++ b/app/views/issues/show.html.erb @@ -19,7 +19,8 @@ <% end %> - <%= avatar(@issue.author, :size => "50") %> + +
@@ -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'