mirror of https://github.com/itflow-org/itflow
Updated asset details Link in rack, fixed opening asset details modal when clicking on a connected asset in asset details page
This commit is contained in:
parent
66d43d8a95
commit
8e66434ec4
|
|
@ -460,6 +460,7 @@ if (isset($_GET['asset_id'])) {
|
|||
// Show either "-" or "AssetName - Port"
|
||||
if ($connected_asset_name) {
|
||||
$connected_to_display = "<a href='#'
|
||||
data-toggle='ajax-modal'
|
||||
data-modal-size='lg'
|
||||
data-ajax-url='ajax/ajax_asset_details.php'
|
||||
data-ajax-id='$connected_asset_id'>
|
||||
|
|
|
|||
|
|
@ -261,7 +261,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
|
|||
$icon = $d['icon']; // already from getAssetIcon
|
||||
?>
|
||||
<i class="fa fa-<?php echo $icon; ?>"></i>
|
||||
<a href="client_asset_details.php?client_id=<?php echo $client_id; ?>&asset_id=<?php echo $d['asset_id']; ?>"
|
||||
<a href="asset_details.php?client_id=<?php echo $client_id; ?>&asset_id=<?php echo $d['asset_id']; ?>"
|
||||
target="_blank">
|
||||
<?php echo $d['asset_name']; ?>
|
||||
<i class="fas fa-external-link-alt ml-1"></i>
|
||||
|
|
|
|||
Loading…
Reference in New Issue