Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormicael.bergeron <micael.bergeron@solutionstlm.com>2017-08-02 17:06:28 +0300
committermicael.bergeron <micael.bergeron@solutionstlm.com>2017-09-06 16:00:57 +0300
commit45b83ed99afc5cfe24a8d84869894124d93d5b51 (patch)
treed632a83e4b953d627855440defbc3300b1285967 /app/views/projects/notes
parent966b1128d884a318dad4277e23368334fe67e836 (diff)
round of fixes after code review
Diffstat (limited to 'app/views/projects/notes')
-rw-r--r--app/views/projects/notes/_actions.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/notes/_actions.html.haml b/app/views/projects/notes/_actions.html.haml
index 926ceff3ee2..cf634faccfc 100644
--- a/app/views/projects/notes/_actions.html.haml
+++ b/app/views/projects/notes/_actions.html.haml
@@ -1,7 +1,7 @@
-- if note.has_special_role? :first_time_contributor
+- if note.has_special_role?(Note::SpecialRole::FIRST_TIME_CONTRIBUTOR)
%span.note-role.has-tooltip{ title: _("This user hasn't yet contributed code to this project. Handle with care.")}
= _('First-time contributor')
-- elsif access = access = note_max_access_for_user(note)
+- elsif access = note_max_access_for_user(note)
%span.note-role= Gitlab::Access.human_access(access)
- if note.resolvable?