mirror of
https://github.com/itflow-org/itflow
synced 2026-09-21 22:21:15 +00:00
Make Add Primary links small
This commit is contained in:
@@ -463,7 +463,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
|
|||||||
it was: it also covers a primary contact that exists but has
|
it was: it also covers a primary contact that exists but has
|
||||||
nothing worth printing. */
|
nothing worth printing. */
|
||||||
if (empty($contact_id) && lookupUserPermission("module_client") >= 2) { ?>
|
if (empty($contact_id) && lookupUserPermission("module_client") >= 2) { ?>
|
||||||
<a class="ajax-modal" href="#" data-modal-url="modals/contact/contact_add.php?client_id=<?= $client_id ?>&primary=1">
|
<a class="ajax-modal small" href="#" data-modal-url="modals/contact/contact_add.php?client_id=<?= $client_id ?>&primary=1">
|
||||||
Add Primary Contact
|
Add Primary Contact
|
||||||
</a>
|
</a>
|
||||||
<?php } elseif (empty($contact_name) && empty($contact_phone) && empty($contact_mobile) && empty($client_email)) {
|
<?php } elseif (empty($contact_name) && empty($contact_phone) && empty($contact_mobile) && empty($client_email)) {
|
||||||
@@ -501,7 +501,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
|
|||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<?php if (empty($location_id) && lookupUserPermission("module_client") >= 2) { ?>
|
<?php if (empty($location_id) && lookupUserPermission("module_client") >= 2) { ?>
|
||||||
<a class="ajax-modal" href="#" data-modal-url="modals/location/location_add.php?client_id=<?= $client_id ?>&primary=1">
|
<a class="ajax-modal small" href="#" data-modal-url="modals/location/location_add.php?client_id=<?= $client_id ?>&primary=1">
|
||||||
Add Primary Location
|
Add Primary Location
|
||||||
</a>
|
</a>
|
||||||
<?php } else {
|
<?php } else {
|
||||||
|
|||||||
@@ -76,8 +76,8 @@
|
|||||||
match enforceUserPermission() in agent/post/location.php;
|
match enforceUserPermission() in agent/post/location.php;
|
||||||
without that a read-only user would get a link that 403s. */ ?>
|
without that a read-only user would get a link that 403s. */ ?>
|
||||||
<?php if (empty($location_id) && lookupUserPermission("module_client") >= 2) { ?>
|
<?php if (empty($location_id) && lookupUserPermission("module_client") >= 2) { ?>
|
||||||
<div>
|
<div class="mb-2">
|
||||||
<a class="ajax-modal" href="#" data-modal-url="modals/location/location_add.php?client_id=<?= $client_id ?>&primary=1">
|
<a class="ajax-modal small" href="#" data-modal-url="modals/location/location_add.php?client_id=<?= $client_id ?>&primary=1">
|
||||||
Add Primary Location
|
Add Primary Location
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
@@ -117,7 +117,7 @@
|
|||||||
|
|
||||||
if (empty($contact_id) && lookupUserPermission("module_client") >= 2) { ?>
|
if (empty($contact_id) && lookupUserPermission("module_client") >= 2) { ?>
|
||||||
<div>
|
<div>
|
||||||
<a class="ajax-modal" href="#" data-modal-url="modals/contact/contact_add.php?client_id=<?= $client_id ?>&primary=1">
|
<a class="ajax-modal small" href="#" data-modal-url="modals/contact/contact_add.php?client_id=<?= $client_id ?>&primary=1">
|
||||||
Add Primary Contact
|
Add Primary Contact
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user