Merge pull request #493 from wrongecho/client-tel

Make client phone numbers click to call
This commit is contained in:
Johnny
2022-10-01 13:19:30 -04:00
committed by GitHub

View File

@@ -20,7 +20,7 @@ $location_phone = formatPhoneNumber($location_phone);
<?php <?php
if(!empty($location_phone)){ if(!empty($location_phone)){
?> ?>
<i class="fa fa-fw fa-phone text-secondary ml-1 mr-2 mb-2"></i> <?php echo $location_phone; ?> <i class="fa fa-fw fa-phone text-secondary ml-1 mr-2 mb-2"></i> <a href="tel:<?php echo $location_phone?>"><?php echo $location_phone; ?></a>
<br> <br>
<?php <?php
} }
@@ -62,7 +62,7 @@ $location_phone = formatPhoneNumber($location_phone);
<?php <?php
if(!empty($contact_phone)){ if(!empty($contact_phone)){
?> ?>
<i class="fa fa-fw fa-phone text-secondary ml-1 mr-2 mb-2"></i> <?php echo $contact_phone; ?> <i class="fa fa-fw fa-phone text-secondary ml-1 mr-2 mb-2"></i> <a href="tel:<?php echo $contact_phone; ?>"><?php echo $contact_phone; ?> </a>
<?php <?php
if(!empty($contact_extension)){ if(!empty($contact_extension)){
?> ?>
@@ -77,7 +77,7 @@ $location_phone = formatPhoneNumber($location_phone);
<?php <?php
if(!empty($contact_mobile)){ if(!empty($contact_mobile)){
?> ?>
<i class="fa fa-fw fa-mobile-alt text-secondary ml-1 mr-2 mb-2"></i> <?php echo $contact_mobile; ?> <i class="fa fa-fw fa-mobile-alt text-secondary ml-1 mr-2 mb-2"></i> <a href="tel:<?php echo $contact_mobile; ?>"> <?php echo $contact_mobile; ?> </a>
<?php <?php
} }
?> ?>