Merge pull request #982 from ssteeltm/client-id-tooltip

client-id-tooltip
This commit is contained in:
Johnny 2024-07-16 19:54:14 -04:00 committed by GitHub
commit f769081bf9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 10 additions and 3 deletions

View File

@ -2,7 +2,14 @@
<aside class="main-sidebar sidebar-dark-<?php echo nullable_htmlentities($config_theme); ?> d-print-none">
<a class="brand-link pb-1 mt-1" href="clients.php">
<p class="h5"><i class="nav-icon fas fa-arrow-left ml-3 mr-2"></i> Back | <strong><?php if($client_abbreviation) { echo $client_abbreviation; } else { echo shortenClient($client_name); } ?></strong></p>
<p class="h5">
<i class="nav-icon fas fa-arrow-left ml-3 mr-2"></i>
Back |
<strong>
<?php if($client_abbreviation) { echo $client_abbreviation; } else { echo shortenClient($client_name); } ?>
<i class="fas fa-hashtag"></i><?php echo $client_id; ?>
</strong>
</p>
</a>
<!-- Sidebar -->

View File

@ -355,7 +355,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
?>
<tr>
<td>
<a class="font-weight-bold" href="client_overview.php?client_id=<?php echo $client_id; ?>"><?php echo $client_name; ?> <small class='text-muted'>[ <?php echo $client_id; ?> ]</small></a>
<a data-toggle="tooltip" data-placement="right" title="Client ID: <?php echo $client_id; ?>" class="font-weight-bold" href="client_overview.php?client_id=<?php echo $client_id; ?>"><?php echo $client_name; ?></a>
<?php
if (!empty($client_type)) {

View File

@ -2,7 +2,7 @@
<div class="card-body py-2">
<div class="row">
<div class="col">
<a href="#" data-toggle="collapse" data-target="#clientHeader"><h4 class="text-secondary"><strong><?php echo $client_name; ?></strong> <?php if ($client_archived_at) { echo "(archived)"; } ?> <small>[ <?php echo $client_id; ?> ]</small></h4></a>
<a href="#" data-toggle="collapse" data-target="#clientHeader"><h4 class="text-secondary" data-toggle="tooltip" data-placement="right" title="Client ID: <?php echo $client_id; ?>"><strong><?php echo $client_name; ?></strong> <?php if ($client_archived_at) { echo "(archived)"; } ?></h4></a>
</div>
<div class="col">
<?php if ($session_user_role == 3) { ?>