mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-03-16 10:19:59 +01:00
you can report yourself anymore
This commit is contained in:
parent
26f21f8e97
commit
ed9c7e945d
1 changed files with 5 additions and 4 deletions
|
@ -26,6 +26,7 @@
|
||||||
%a{href: '#', data: { a_id: a.id, action: 'ab-destroy' }}
|
%a{href: '#', data: { a_id: a.id, action: 'ab-destroy' }}
|
||||||
%i.fa.fa-trash-o
|
%i.fa.fa-trash-o
|
||||||
Delete
|
Delete
|
||||||
|
- unless a.user == current_user
|
||||||
%li
|
%li
|
||||||
%a{href: '#', data: { a_id: a.id, action: 'ab-report' }}
|
%a{href: '#', data: { a_id: a.id, action: 'ab-report' }}
|
||||||
%i.fa.fa-exclamation-triangle
|
%i.fa.fa-exclamation-triangle
|
||||||
|
|
Loading…
Reference in a new issue