Skip to content
Snippets Groups Projects
Commit ad57a94a authored by Phil Hughes's avatar Phil Hughes
Browse files

Hides award emoji & access level on system notes

parent 9fdadfc0
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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 !note.system
%span.note-role.hidden-xs= access
- if current_user
- if current_user and !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
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment