File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 1515 <span class =" label inline-flex mb-4" >
1616 Awaiting Approval
1717 </span >
18+ @can (App \Policies \ArticlePolicy:: APPROVE , $article )
19+ <button type =" button" class =" label label-primary inline-flex mb-4" @click .prevent =" activeModal = 'approveArticle'" >
20+ Approve
21+ </button >
22+ @endcan
1823 @else
1924 <span class =" label inline-flex mb-4" >
2025 Draft
2126 </span >
2227 @endif
2328
24- @can (App \Policies \ArticlePolicy:: APPROVE , $article )
25- <button type =" button" class =" label label-primary inline-flex mb-4" @click .prevent =" activeModal = 'approveArticle'" >
26- Approve
27- </button >
28- @endcan
2929 @else
3030 @can (App \Policies \ArticlePolicy:: DISAPPROVE , $article )
3131 <button type =" button" class =" label label-danger inline-flex mb-4" @click .prevent =" activeModal = 'disapproveArticle'" >
You can’t perform that action at this time.
0 commit comments