Feature #31704 » show-gravatar-icon-in-issues-list.patch
| app/helpers/queries_helper.rb | ||
|---|---|---|
| 236 | 236 |
link_to_if(value > 0, format_hours(value), project_time_entries_path(item.project, :issue_id => "~#{item.id}"))
|
| 237 | 237 |
when :attachments |
| 238 | 238 |
value.to_a.map {|a| format_object(a)}.join(" ").html_safe
|
| 239 |
when :author, :assigned_to, :last_updated_by |
|
| 240 |
Setting.gravatar_enabled? ? content_tag('span', avatar(value).to_s.html_safe) + content_tag('span', format_object(value)) : format_object(value)
|
|
| 239 | 241 |
else |
| 240 | 242 |
format_object(value) |
| 241 | 243 |
end |
| public/stylesheets/application.css | ||
|---|---|---|
| 256 | 256 |
tr.project.idnt-9 td.name {padding-left: 12.5em;}
|
| 257 | 257 | |
| 258 | 258 |
tr.issue { text-align: center; white-space: nowrap; }
|
| 259 |
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; }
|
|
| 259 |
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; }
|
|
| 260 | 260 |
tr.issue td.relations { text-align: left; }
|
| 261 | 261 |
tr.issue td.done_ratio table.progress { margin-left:auto; margin-right: auto;}
|
| 262 | 262 |
tr.issue td.relations span {white-space: nowrap;}
|
| 263 | 263 |
table.issues td.block_column {color:#777; font-size:90%; padding:4px 4px 4px 24px; text-align:left; white-space:normal;}
|
| 264 | 264 |
table.issues td.block_column span {font-weight: bold; display: block; margin-bottom: 4px;}
|
| 265 | 265 |
table.issues td.block_column pre {white-space:normal;}
|
| 266 |
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 }
|
|
| 266 | 267 | |
| 267 | 268 |
tr.issue.idnt td.subject {background: url(../images/arrow_right.png) no-repeat 2px 50%;}
|
| 268 | 269 |
tr.issue.idnt-1 td.subject {padding-left: 24px; background-position: 8px 50%;}
|