summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Ivan Vargas <jvargas@gitlab.com>2017-09-05 12:35:27 -0500
committerJose Ivan Vargas <jvargas@gitlab.com>2017-09-05 14:33:38 -0500
commitd405158d59005a98dab87ff23b6875ed15618034 (patch)
treebe09f3337bf8d4b578a0ded4052fc8bc43b97420
parent094ab8fa129912de5f2507dd1cee80857ab2fb79 (diff)
downloadgitlab-ce-d405158d59005a98dab87ff23b6875ed15618034.tar.gz
Added missing at sign
-rw-r--r--app/assets/javascripts/notes.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/assets/javascripts/notes.js b/app/assets/javascripts/notes.js
index 4e3d10bf45f..5a5c2e0bcf4 100644
--- a/app/assets/javascripts/notes.js
+++ b/app/assets/javascripts/notes.js
@@ -1282,8 +1282,8 @@ export default class Notes {
<div class="note-header">
<div class="note-header-info">
<a href="/${_.escape(currentUsername)}">
- <span class="hidden-xs">${_.escape(currentUserFullname)}</span>
- <span class="note-headline-light">@${_.escape(currentUsername)}</span>
+ <span class="hidden-xs">${_.escape(currentUsername)}</span>
+ <span class="note-headline-light">${_.escape(currentUsername)}</span>
</a>
</div>
</div>
@@ -1298,7 +1298,7 @@ export default class Notes {
);
$tempNote.find('.hidden-xs').text(_.escape(currentUserFullname));
- $tempNote.find('.note-headline-light').text(_.escape(currentUsername));
+ $tempNote.find('.note-headline-light').text(`@${_.escape(currentUsername)}`);
return $tempNote;
}