14 lines
581 B
PHP
14 lines
581 B
PHP
<div class="pull-right">
|
|
<?php if(Access::hasAnyEditPermission($url, $model['user_id']) && !isset($model->deleted_at)): ?>
|
|
<?php if($model->order > 1): ?>
|
|
<a href="#" class="move-up" data-id="<?php echo e($model->id); ?>" data-type="<?php echo e($model->type); ?>">
|
|
<i class="fas fa-arrow-up"></i>
|
|
</a>
|
|
<?php endif; ?>
|
|
<?php if($model->order < $orderCount): ?>
|
|
<a href="#" class="move-down" data-id="<?php echo e($model->id); ?>" data-type="<?php echo e($model->type); ?>">
|
|
<i class="fas fa-arrow-down"></i>
|
|
</a>
|
|
<?php endif; ?>
|
|
<?php endif; ?>
|
|
</div>
|