diff --git a/app/helpers/queries_helper.rb b/app/helpers/queries_helper.rb index e08dd3003..7414c88fa 100644 --- a/app/helpers/queries_helper.rb +++ b/app/helpers/queries_helper.rb @@ -236,6 +236,8 @@ module QueriesHelper link_to_if(value > 0, format_hours(value), project_time_entries_path(item.project, :issue_id => "~#{item.id}")) when :attachments value.to_a.map {|a| format_object(a)}.join(" ").html_safe + when :author, :assigned_to, :last_updated_by + Setting.gravatar_enabled? ? content_tag('span', avatar(value).to_s.html_safe) + content_tag('span', format_object(value)) : format_object(value) else format_object(value) end diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index 1dc44f3f2..b5362ede5 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -256,13 +256,14 @@ tr.project.idnt-8 td.name {padding-left: 11em;} tr.project.idnt-9 td.name {padding-left: 12.5em;} tr.issue { text-align: center; white-space: nowrap; } -tr.issue td.subject, tr.issue td.category, td.assigned_to, td.last_updated_by, tr.issue td.string, tr.issue td.text, tr.issue td.list, tr.issue td.relations, tr.issue td.parent { white-space: normal; } +tr.issue td.subject, tr.issue td.category, tr.issue td.author, td.assigned_to, td.last_updated_by, tr.issue td.string, tr.issue td.text, tr.issue td.list, tr.issue td.relations, tr.issue td.parent { white-space: normal; } tr.issue td.relations { text-align: left; } tr.issue td.done_ratio table.progress { margin-left:auto; margin-right: auto;} tr.issue td.relations span {white-space: nowrap;} table.issues td.block_column {color:#777; font-size:90%; padding:4px 4px 4px 24px; text-align:left; white-space:normal;} table.issues td.block_column span {font-weight: bold; display: block; margin-bottom: 4px;} table.issues td.block_column pre {white-space:normal;} +body.avatars-on tr.issue td.author span, body.avatars-on tr.issue td.assigned_to span, body.avatars-on tr.issue td.last_updated_by span { display: table-cell; vertical-align: middle; text-align: left; padding: 0 1px } tr.issue.idnt td.subject {background: url(../images/arrow_right.png) no-repeat 2px 50%;} tr.issue.idnt-1 td.subject {padding-left: 24px; background-position: 8px 50%;}