summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArinde Eniola <eniolaarinde1@gmail.com>2016-03-18 16:21:09 +0100
committerArinde Eniola <eniolaarinde1@gmail.com>2016-03-18 17:54:44 +0100
commit5e39846e4b139428940c6a4677667c8b0fbb78ce (patch)
tree1457eb84feccf3a434ff354dab1fff4681e1423c
parentaee6dbc6de68df5ac7d61f49131a7a44936cbf59 (diff)
downloadgitlab-ce-5e39846e4b139428940c6a4677667c8b0fbb78ce.tar.gz
Add avatar to issue and MR pages headeradd_avatar_to_issue_mr_header
-rw-r--r--app/views/projects/issues/show.html.haml4
-rw-r--r--app/views/projects/merge_requests/show/_mr_title.html.haml4
2 files changed, 4 insertions, 4 deletions
diff --git a/app/views/projects/issues/show.html.haml b/app/views/projects/issues/show.html.haml
index ce5b84ee712..52df3de8a27 100644
--- a/app/views/projects/issues/show.html.haml
+++ b/app/views/projects/issues/show.html.haml
@@ -32,9 +32,9 @@
= time_ago_with_tooltip(@issue.created_at)
by
%strong
- = link_to_member(@project, @issue.author, avatar: false, size: 24, mobile_classes: "hidden-xs")
+ = link_to_member(@project, @issue.author, size: 24, mobile_classes: "hidden-xs")
%strong
- = link_to_member(@project, @issue.author, avatar: false, size: 24, mobile_classes: "hidden-sm hidden-md hidden-lg",
+ = link_to_member(@project, @issue.author, size: 24, mobile_classes: "hidden-sm hidden-md hidden-lg",
by_username: true, avatar: false)
.pull-right.issue-btn-group
diff --git a/app/views/projects/merge_requests/show/_mr_title.html.haml b/app/views/projects/merge_requests/show/_mr_title.html.haml
index c6cbe8589ef..eeb605e2dc5 100644
--- a/app/views/projects/merge_requests/show/_mr_title.html.haml
+++ b/app/views/projects/merge_requests/show/_mr_title.html.haml
@@ -19,9 +19,9 @@
= time_ago_with_tooltip(@merge_request.created_at)
by
%strong
- = link_to_member(@project, @merge_request.author, avatar: false, size: 24, mobile_classes: "hidden-xs")
+ = link_to_member(@project, @merge_request.author, size: 24, mobile_classes: "hidden-xs")
%strong
- = link_to_member(@project, @merge_request.author, avatar: false, size: 24, mobile_classes: "hidden-sm hidden-md hidden-lg",
+ = link_to_member(@project, @merge_request.author, size: 24, mobile_classes: "hidden-sm hidden-md hidden-lg",
by_username: true, avatar: false)
.issue-btn-group.pull-right