correzione login 02
This commit is contained in:
parent
f4d677bb9d
commit
49f989b22a
@ -237,10 +237,12 @@ function getStatusClass($status) {
|
||||
<a href="edit-asset.php?id=<?php echo $asset['id']; ?>" class="btn btn-sm btn-outline-primary">Edit</a>
|
||||
<?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')): ?>
|
||||
<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; ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user