diff options
author | Bart Visscher <bartv@thisnet.nl> | 2011-12-07 20:34:41 +0100 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2011-12-07 20:40:59 +0100 |
commit | 546b7279a3488f242bc9f18d224ee9438915260e (patch) | |
tree | bb2843b04ea2cd25d6900ddc0ae3c73def8df464 /apps/contacts | |
parent | 1220edd4dfdc76b80ee41a4ddc74756d572b009a (diff) | |
download | nextcloud-server-546b7279a3488f242bc9f18d224ee9438915260e.tar.gz nextcloud-server-546b7279a3488f242bc9f18d224ee9438915260e.zip |
Contacts: Add "Preferred" before phone label for preferred numbers
Diffstat (limited to 'apps/contacts')
-rw-r--r-- | apps/contacts/templates/part.property.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/contacts/templates/part.property.php b/apps/contacts/templates/part.property.php index afef4311260..6264f296743 100644 --- a/apps/contacts/templates/part.property.php +++ b/apps/contacts/templates/part.property.php @@ -20,7 +20,7 @@ <span style="display:none;" data-use="delete"><img class="svg action" src="<?php echo image_path('', 'actions/delete.svg'); ?>" /></span> </p> <?php elseif($_['property']['name'] == 'TEL'): ?> - <p class="contacts_property_name"><?php echo $l->t('Phone'); ?></p> + <p class="contacts_property_name"><?php echo $_['property']['parameters']['PREF'] ? $l->t('Preferred').' ' : '' ?><?php echo $l->t('Phone'); ?></p> <p class="contacts_property_data"> <?php echo $_['property']['value']; ?> <?php if(isset($_['property']['parameters']['TYPE']) && !empty($_['property']['parameters']['TYPE'])): ?> |