Contacts: Add "Preferred" before phone label for preferred numbers
This commit is contained in:
parent
1220edd4df
commit
546b7279a3
|
@ -20,7 +20,7 @@
|
||||||
<span style="display:none;" data-use="delete"><img class="svg action" src="<?php echo image_path('', 'actions/delete.svg'); ?>" /></span>
|
<span style="display:none;" data-use="delete"><img class="svg action" src="<?php echo image_path('', 'actions/delete.svg'); ?>" /></span>
|
||||||
</p>
|
</p>
|
||||||
<?php elseif($_['property']['name'] == 'TEL'): ?>
|
<?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">
|
<p class="contacts_property_data">
|
||||||
<?php echo $_['property']['value']; ?>
|
<?php echo $_['property']['value']; ?>
|
||||||
<?php if(isset($_['property']['parameters']['TYPE']) && !empty($_['property']['parameters']['TYPE'])): ?>
|
<?php if(isset($_['property']['parameters']['TYPE']) && !empty($_['property']['parameters']['TYPE'])): ?>
|
||||||
|
|
Loading…
Reference in New Issue