summaryrefslogtreecommitdiff
path: root/app/views/projects/notes
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-12-01 17:40:45 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-12-01 17:40:45 +0200
commitf53e0fff47eda03296dee95dbd44b6f5a78c6269 (patch)
tree84cf0c1159d33991a2a48320ef5ce93c9358f591 /app/views/projects/notes
parent7ff1c0e3f9c6c6098443a6ee49345ed75536f49a (diff)
downloadgitlab-ce-f53e0fff47eda03296dee95dbd44b6f5a78c6269.tar.gz
Show username in comment header for easier mention
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/projects/notes')
-rw-r--r--app/views/projects/notes/_note.html.haml2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/projects/notes/_note.html.haml b/app/views/projects/notes/_note.html.haml
index a25c5e207fb..b2abdf0035d 100644
--- a/app/views/projects/notes/_note.html.haml
+++ b/app/views/projects/notes/_note.html.haml
@@ -18,6 +18,8 @@
%i.fa.fa-trash-o.cred
Remove
= link_to_member(@project, note.author, avatar: false)
+ %span.author-username
+ = '@' + note.author.username
%span.note-last-update
= note_timestamp(note)