diff options
author | micael.bergeron <micael.bergeron@solutionstlm.com> | 2017-08-02 10:06:28 -0400 |
---|---|---|
committer | micael.bergeron <micael.bergeron@solutionstlm.com> | 2017-09-06 09:00:57 -0400 |
commit | 45b83ed99afc5cfe24a8d84869894124d93d5b51 (patch) | |
tree | d632a83e4b953d627855440defbc3300b1285967 /app/views | |
parent | 966b1128d884a318dad4277e23368334fe67e836 (diff) | |
download | gitlab-ce-45b83ed99afc5cfe24a8d84869894124d93d5b51.tar.gz |
round of fixes after code review
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/projects/notes/_actions.html.haml | 4 |
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? |