summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authormicael.bergeron <micael.bergeron@solutionstlm.com>2017-08-29 09:46:40 -0400
committermicael.bergeron <micael.bergeron@solutionstlm.com>2017-09-06 09:00:57 -0400
commit65bcd141c883b1efd9518ff5f588e1dcb1d80f64 (patch)
tree21507da44c611c2a8cfeb0b64e4163374b6f2451 /app/views
parent4130552b421f1b83e60f03715000efe56461fc6b (diff)
downloadgitlab-ce-65bcd141c883b1efd9518ff5f588e1dcb1d80f64.tar.gz
add controller spec
also fix some code styling issues
Diffstat (limited to 'app/views')
-rw-r--r--app/views/projects/notes/_actions.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/notes/_actions.html.haml b/app/views/projects/notes/_actions.html.haml
index 999a1b850e1..de76832331a 100644
--- a/app/views/projects/notes/_actions.html.haml
+++ b/app/views/projects/notes/_actions.html.haml
@@ -1,5 +1,5 @@
- if note.has_special_role?(Note::SpecialRole::FIRST_TIME_CONTRIBUTOR)
- %span.note-role.note-role-special.has-tooltip{ title: _("This user hasn't yet contributed code to this project. Handle with care.") }
+ %span.note-role.note-role-special.has-tooltip{ title: _("This is the author's first Merge Request to this project. Handle with care.") }
= issuable_first_contribution_icon
- if access = note_max_access_for_user(note)
%span.note-role.note-role-access= Gitlab::Access.human_access(access)