Add tooltips to the client badge count on the side nav menu to explain what it counts

This commit is contained in:
johnnyq
2025-01-19 20:53:02 -05:00
parent 22e9699b20
commit 9d2f509694

View File

@@ -27,7 +27,7 @@
<p> <p>
Clients Clients
<?php if ($num_active_clients) { ?> <?php if ($num_active_clients) { ?>
<span class="right badge text-light"><?php echo $num_active_clients; ?></span> <span class="right badge text-light" data-toggle="tooltip" title="Active Clients"><?php echo $num_active_clients; ?></span>
<?php } ?> <?php } ?>
</p> </p>
</a> </a>
@@ -43,7 +43,7 @@
<p> <p>
Tickets Tickets
<?php if ($num_active_tickets) { ?> <?php if ($num_active_tickets) { ?>
<span class="right badge text-light"><?php echo $num_active_tickets; ?></span> <span class="right badge text-light" data-toggle="tooltip" title="Open Tickets"><?php echo $num_active_tickets; ?></span>
<?php } ?> <?php } ?>
</p> </p>
</a> </a>
@@ -54,7 +54,7 @@
<p> <p>
Recurring Tickets Recurring Tickets
<?php if ($num_recurring_tickets) { ?> <?php if ($num_recurring_tickets) { ?>
<span class="right badge text-light"><?php echo $num_recurring_tickets; ?></span> <span class="right badge text-light" data-toggle="tooltip" title="Active Recurring Tickets"><?php echo $num_recurring_tickets; ?></span>
<?php } ?> <?php } ?>
</p> </p>
</a> </a>
@@ -65,7 +65,7 @@
<p> <p>
Projects Projects
<?php if ($num_active_projects) { ?> <?php if ($num_active_projects) { ?>
<span class="right badge text-light"><?php echo $num_active_projects; ?></span> <span class="right badge text-light" data-toggle="tooltip" title="Open Projects"><?php echo $num_active_projects; ?></span>
<?php } ?> <?php } ?>
</p> </p>
</a> </a>
@@ -87,7 +87,7 @@
<p> <p>
Quotes Quotes
<?php if ($num_open_quotes) { ?> <?php if ($num_open_quotes) { ?>
<span class="right badge text-light"><?php echo $num_open_quotes; ?></span> <span class="right badge text-light" data-toggle="tooltip" title="Active Quotes"><?php echo $num_open_quotes; ?></span>
<?php } ?> <?php } ?>
</p> </p>
</a> </a>
@@ -98,7 +98,7 @@
<p> <p>
Invoices Invoices
<?php if ($num_open_invoices) { ?> <?php if ($num_open_invoices) { ?>
<span class="right badge text-light"><?php echo $num_open_invoices; ?></span> <span class="right badge text-light" data-toggle="tooltip" title="Open Invoices"><?php echo $num_open_invoices; ?></span>
<?php } ?> <?php } ?>
</p> </p>
</a> </a>
@@ -109,7 +109,7 @@
<p> <p>
Recurring Invoices Recurring Invoices
<?php if ($num_recurring_invoices) { ?> <?php if ($num_recurring_invoices) { ?>
<span class="right badge text-light"><?php echo $num_recurring_invoices; ?></span> <span class="right badge text-light" data-toggle="tooltip" title="Active Recurring Invoices"><?php echo $num_recurring_invoices; ?></span>
<?php } ?> <?php } ?>
</p> </p>
</a> </a>
@@ -153,7 +153,7 @@
<p> <p>
Recurring Expenses Recurring Expenses
<?php if ($num_recurring_expenses) { ?> <?php if ($num_recurring_expenses) { ?>
<span class="right badge text-light"><?php echo $num_recurring_expenses; ?></span> <span class="right badge text-light" data-toggle="tooltip" title="Recurring Expenses"><?php echo $num_recurring_expenses; ?></span>
<?php } ?> <?php } ?>
</p> </p>
</a> </a>