correzione login 03
This commit is contained in:
parent
49f989b22a
commit
d25aef3090
@ -237,12 +237,14 @@ function getStatusClass($status) {
|
|||||||
<a href="edit-asset.php?id=<?php echo $asset['id']; ?>" class="btn btn-sm btn-outline-primary">Edit</a>
|
<a href="edit-asset.php?id=<?php echo $asset['id']; ?>" class="btn btn-sm btn-outline-primary">Edit</a>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<?php if (can($_SESSION['user_role'], 'asset', 'delete')): ?>
|
<?php if (can($_SESSION['user_role'], 'asset', 'delete')): ?>
|
||||||
|
<?php if (can($_SESSION['user_role'], 'asset', 'delete')): ?>
|
||||||
<?php if (can($_SESSION['user_role'], 'asset', 'delete')): ?>
|
<?php if (can($_SESSION['user_role'], 'asset', 'delete')): ?>
|
||||||
<?php if (can($_SESSION['user_role'], 'asset', 'delete')): ?>
|
<?php if (can($_SESSION['user_role'], 'asset', 'delete')): ?>
|
||||||
<a href="delete-asset.php?id=<?php echo $asset['id']; ?>" class="btn btn-sm btn-outline-danger" onclick="return confirm('Are you sure you want to delete this asset?');">Delete</a>
|
<a href="delete-asset.php?id=<?php echo $asset['id']; ?>" class="btn btn-sm btn-outline-danger" onclick="return confirm('Are you sure you want to delete this asset?');">Delete</a>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
<?php endif; ?>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user