From 6f265eb757324cdd8bd9e8d7a06ef0288bd8eab0 Mon Sep 17 00:00:00 2001
From: Phil Hughes <me@iamphill.com>
Date: Tue, 1 Mar 2016 16:57:53 +0000
Subject: [PATCH] Added username to issue & merge request header

Closes #13771
---
 app/views/projects/issues/show.html.haml                   | 1 +
 app/views/projects/merge_requests/show/_mr_title.html.haml | 1 +
 2 files changed, 2 insertions(+)

diff --git a/app/views/projects/issues/show.html.haml b/app/views/projects/issues/show.html.haml
index 1173e0a78c..7d8798981e 100644
--- a/app/views/projects/issues/show.html.haml
+++ b/app/views/projects/issues/show.html.haml
@@ -29,6 +29,7 @@
       %span.creator
         &middot;
         by #{link_to_member(@project, @issue.author, size: 24)}
+        = '@' + @issue.author.username
         &middot;
         = time_ago_with_tooltip(@issue.created_at, placement: 'bottom', html_class: 'issue_created_ago')
 
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 b634a4af8d..339031f15b 100644
--- a/app/views/projects/merge_requests/show/_mr_title.html.haml
+++ b/app/views/projects/merge_requests/show/_mr_title.html.haml
@@ -6,6 +6,7 @@
   %span.creator
     &middot;
     by #{link_to_member(@project, @merge_request.author, size: 24)}
+    = '@' + @merge_request.author.username
     &middot;
     = time_ago_with_tooltip(@merge_request.created_at)
 
-- 
2.30.9