Patch #25775 » 0001-Show-assignee-s-icon-in-addition-to-author-s-icon.patch
| app/views/issues/show.html.erb | ||
|---|---|---|
| 25 | 25 |
</div> |
| 26 | 26 |
<% end %> |
| 27 | 27 | |
| 28 |
<%= avatar(@issue.author, :size => "50") %> |
|
| 28 |
<div class="gravatar-with-child"> |
|
| 29 |
<%= avatar(@issue.author, :size => "50") %> |
|
| 30 |
<%= avatar(@issue.assigned_to, :size => "22", :class => "gravatar gravatar-child") if @issue.assigned_to %> |
|
| 31 |
</div> |
|
| 29 | 32 | |
| 30 | 33 |
<div class="subject"> |
| 31 | 34 |
<%= render_issue_subject_with_tree(@issue) %> |
| public/stylesheets/application.css | ||
|---|---|---|
| 1313 | 1313 |
margin: 0 6px 0 0; |
| 1314 | 1314 |
} |
| 1315 | 1315 | |
| 1316 |
div.gravatar-with-child {
|
|
| 1317 |
position: relative; |
|
| 1318 |
} |
|
| 1319 | ||
| 1320 |
div.gravatar-with-child > img.gravatar:nth-child(2) {
|
|
| 1321 |
position: absolute; |
|
| 1322 |
top: 30px; |
|
| 1323 |
left: 30px; |
|
| 1324 |
border-radius: 20%; |
|
| 1325 |
border: 2px solid rgba(255, 255, 255, 0.9); |
|
| 1326 |
} |
|
| 1327 | ||
| 1316 | 1328 |
h2 img.gravatar {margin: -2px 4px -4px 0;}
|
| 1317 | 1329 |
h3 img.gravatar {margin: -4px 4px -4px 0;}
|
| 1318 | 1330 |
h4 img.gravatar {margin: -2px 4px -4px 0;}
|