Shows award emoji for comments to all users who are logged in.
This commit is contained in:
parent
0001a0cf9d
commit
bdc995bf00
1 changed files with 2 additions and 1 deletions
|
@ -20,10 +20,11 @@
|
|||
- access = note.project.team.human_max_access(note.author.id)
|
||||
- if access
|
||||
%span.note-role.hidden-xs= access
|
||||
- if note_editable
|
||||
- if current_user
|
||||
= 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')
|
||||
- if note_editable
|
||||
= link_to '#', title: 'Edit comment', class: 'note-action-button js-note-edit' do
|
||||
= icon('pencil')
|
||||
= link_to namespace_project_note_path(note.project.namespace, note.project, note), title: 'Remove comment', method: :delete, data: { confirm: 'Are you sure you want to remove this comment?' }, remote: true, class: 'note-action-button hidden-xs js-note-delete danger' do
|
||||
|
|
Loading…
Reference in a new issue