Project

General

Profile

Feature #31704 » show-gravatar-icon-in-issues-list.patch

Takenori TAKAKI, 2019-07-10 07:58

View differences:

app/helpers/queries_helper.rb
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
public/stylesheets/application.css
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%;}
(1-1/2)