Skip to content

Commit

Permalink
Merge pull request #982 from ssteeltm/client-id-tooltip
Browse files Browse the repository at this point in the history
client-id-tooltip
  • Loading branch information
johnnyq authored Jul 16, 2024
2 parents dcc0d77 + 83da334 commit f769081
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
9 changes: 8 additions & 1 deletion client_side_nav.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 -->
Expand Down
2 changes: 1 addition & 1 deletion clients.php
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ class="collapse mt-3
?>
<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)) {
Expand Down
2 changes: 1 addition & 1 deletion inc_client_top_head.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) { ?>
Expand Down

0 comments on commit f769081

Please sign in to comment.