only show upload button to those with write_storage permission
This commit is contained in:
@@ -47,9 +47,11 @@
|
||||
</button>
|
||||
</div>
|
||||
<div class="btn-group mr-2">
|
||||
{{if $can_upload}}
|
||||
<button class="btn btn-outline-secondary btn-sm" title="{{$edatt}}" onclick="insertCommentAttach('{{$comment}}',{{$id}}); return false;">
|
||||
<i class="fa fa-paperclip comment-icon"></i>
|
||||
</button>
|
||||
{{/if}}
|
||||
<button class="btn btn-outline-secondary btn-sm" title="{{$edurl}}" onclick="insertCommentURL('{{$comment}}',{{$id}}); return false;">
|
||||
<i class="fa fa-link comment-icon"></i>
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user