diff options
-rw-r--r-- | app/views/projects/issues/show.html.haml | 14 | ||||
-rw-r--r-- | app/views/projects/merge_requests/show/_mr_title.html.haml | 5 |
2 files changed, 13 insertions, 6 deletions
diff --git a/app/views/projects/issues/show.html.haml b/app/views/projects/issues/show.html.haml index 0c225ee3fe1..e8ab7f7af72 100644 --- a/app/views/projects/issues/show.html.haml +++ b/app/views/projects/issues/show.html.haml @@ -27,11 +27,15 @@ %span.creator by .editor-details - %strong - =link_to_member(@project, @issue.author, size: 24, mobile_classes: "hidden-xs") - =link_to_member(@project, @issue.author, size: 24, - by_username: true, avatar: false) - = time_ago_with_tooltip(@issue.created_at, placement: 'bottom', html_class: 'issue_created_ago') + .editor-details + %strong + =link_to_member(@project, @issue.author, size: 24, mobile_classes: "hidden-xs") + %span.hidden-xs + = '@' + @issue.author.username + %strong + =link_to_member(@project, @issue.author, size: 24, mobile_classes: "hidden-sm hidden-md hidden-lg", + by_username: true, avatar: false) + = time_ago_with_tooltip(@issue.created_at) .pull-right.issue-btn-group - if can?(current_user, :create_issue, @project) 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 c0e1839757b..c28e9d6f302 100644 --- a/app/views/projects/merge_requests/show/_mr_title.html.haml +++ b/app/views/projects/merge_requests/show/_mr_title.html.haml @@ -14,7 +14,10 @@ .editor-details %strong =link_to_member(@project, @merge_request.author, size: 24, mobile_classes: "hidden-xs") - =link_to_member(@project, @merge_request.author, size: 24, + %span.hidden-xs + = '@' + @merge_request.author.username + %strong + =link_to_member(@project, @merge_request.author, size: 24, mobile_classes: "hidden-sm hidden-md hidden-lg", by_username: true, avatar: false) = time_ago_with_tooltip(@merge_request.created_at) |