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:
authorPhil Hughes <me@iamphill.com>2016-06-17 12:01:57 +0300
committerPhil Hughes <me@iamphill.com>2016-06-17 12:01:57 +0300
commit59b5bfff6d43b949f940cc8ea2b00b7de2cda274 (patch)
treeb124050428512785ef555be56dadfaba38939f9d /app/views/projects/notes
parentad57a94a092d8b8326c1bbd854ea49c1cd9f5743 (diff)
Uses not when checking for system note
Diffstat (limited to 'app/views/projects/notes')
-rw-r--r--app/views/projects/notes/_note.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/notes/_note.html.haml b/app/views/projects/notes/_note.html.haml
index 57050a87d40..c04d291412c 100644
--- a/app/views/projects/notes/_note.html.haml
+++ b/app/views/projects/notes/_note.html.haml
@@ -18,9 +18,9 @@
= time_ago_with_tooltip(note.created_at, placement: 'bottom', html_class: 'note-created-ago')
.note-actions
- access = note.project.team.human_max_access(note.author.id)
- - if access and !note.system
+ - if access and not note.system
%span.note-role.hidden-xs= access
- - if current_user and !note.system
+ - if current_user and not note.system
= link_to '#', title: 'Award Emoji', class: 'note-action-button note-emoji-button js-add-award js-note-emoji', data: { position: 'right' } do
= icon('spinner spin')
= icon('smile-o')