20 lines
858 B
PHP
20 lines
858 B
PHP
<?php if(is_object($post)): ?>
|
|
<?php if(Access::hasAnyModelPermission($post)): ?>
|
|
<div class="quickedit <?php if(isset($static)): ?> static <?php else: ?> hidden <?php endif; ?>">
|
|
<a href="#" class="show-modal" data-id="<?php echo e($post->id); ?>" data-type="<?php echo e($post->type); ?>">
|
|
<span class="fa fa-info"></span>
|
|
</a>
|
|
<?php if(Access::hasEditModelPermission($post)): ?>
|
|
<a href="#" class="edit-modal" data-id="<?php echo e($post->id); ?>" data-type="<?php echo e($post->type); ?>">
|
|
<span class="fa fa-edit"></span>
|
|
</a>
|
|
<?php endif; ?>
|
|
|
|
<?php if(Access::hasDeleteModelPermission($post)): ?>
|
|
<a href="#" class="delete-modal" data-id="<?php echo e($post->id); ?>" data-type="<?php echo e($post->type); ?>">
|
|
<span class="fa fa-trash-alt"></span>
|
|
</a>
|
|
<?php endif; ?>
|
|
</div>
|
|
<?php endif; ?>
|
|
<?php endif; ?>
|