Skip to content

Commit 75ed461

Browse files
committed
Asset and Contact Links now goto the details page instead of the details modal
1 parent 691aebc commit 75ed461

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

assets.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -550,11 +550,7 @@ class="btn btn-<?php if($archived == 1){ echo "primary"; } else { echo "default"
550550
</div>
551551
</td>
552552
<td>
553-
<a class="text-dark" href="#"
554-
data-toggle="ajax-modal"
555-
data-modal-size="lg"
556-
data-ajax-url="ajax/ajax_asset_details.php?<?php echo $client_url; ?>"
557-
data-ajax-id="<?php echo $asset_id; ?>">
553+
<a class="text-dark" href="asset_details.php?client_id=<?php echo $client_id; ?>&asset_id=<?php echo $asset_id; ?>">
558554
<div class="media">
559555
<i class="fa fa-fw fa-2x fa-<?php echo $device_icon; ?> mr-3 mt-1"></i>
560556
<div class="media-body">

contacts.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -445,11 +445,7 @@ class="btn btn-<?php if($archived == 1){ echo "primary"; } else { echo "default"
445445
</div>
446446
</td>
447447
<td>
448-
<a class="text-dark" href="#"
449-
data-toggle="ajax-modal"
450-
data-modal-size="lg"
451-
data-ajax-url="ajax/ajax_contact_details.php?<?php echo $client_url; ?>"
452-
data-ajax-id="<?php echo $contact_id; ?>">
448+
<a class="text-dark" href="contact_details.php?client_id=<?php echo $client_id; ?>&contact_id=<?php echo $contact_id; ?>">
453449
<div class="media">
454450
<?php if ($contact_photo) { ?>
455451
<span class="fa-stack fa-2x mr-3 text-center">

0 commit comments

Comments
 (0)