Skip to content
Snippets Groups Projects

Hides award emoji & access level on system notes

Merged Phil Hughes requested to merge note-emoji-system-note into master
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
@@ -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
- if access and not note.system
%span.note-role.hidden-xs= access
- if current_user
- 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')
Loading