From: Laury GvR Date: Thu, 28 Jun 2018 14:43:39 +0000 (-0400) Subject: Fix winter address 2, display all phone numbers X-Git-Tag: v1.0.0^2~1 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=3bc4e71ac99288a7352e61f9b2775dd6b9d40448;p=WP-Themes%2Fharborpointassociation2018.git Fix winter address 2, display all phone numbers --- diff --git a/glm-member-db-contacts/views/front/contacts/list.html b/glm-member-db-contacts/views/front/contacts/list.html index e341142..dc788c6 100644 --- a/glm-member-db-contacts/views/front/contacts/list.html +++ b/glm-member-db-contacts/views/front/contacts/list.html @@ -88,7 +88,12 @@ and open the template in the editor. {apply_filters('glm_custom_fields', 'cottage', $contact.id)} {/if} - {if $contact.addr1 || $contact.addr2 || $contact.city.name || $contact.state.name || $contact.zip} + {if $contact.addr1 + || $contact.addr2 + || $contact.city.name + || $contact.state.name + || $contact.zip + }
Summer Address:
{if $contact.addr1}{$contact.addr1}
{/if} @@ -98,8 +103,29 @@ and open the template in the editor. {if $contact.zip}{$contact.zip}{/if}
{/if} - {if $contact.office_phone}Summer Phone: {$contact.office_phone}{/if} - {if $contact.fax}{$contact.fax}{/if} + {if $contact.office_phone + || $contact.home_phone + || $contact.mobile_phone + || $contact.alternate_phone + || $contact.fax + } + Summer Phone:
+ {if $contact.office_phone} + office: {$contact.office_phone}
+ {/if} + {if $contact.home_phone} + home: {$contact.home_phone}
+ {/if} + {if $contact.mobile_phone} + mobile: {$contact.mobile_phone}
+ {/if} + {if $contact.alternate_phone} + alternate: {$contact.alternate_phone}
+ {/if} + {if $contact.fax} + fax: {$contact.fax}
+ {/if} + {/if} {if apply_filters('glm_custom_fields', 'winter address', $contact.id) || apply_filters('glm_custom_fields', 'winter address 2', $contact.id) || apply_filters('glm_custom_fields', 'winter city', $contact.id) @@ -112,7 +138,7 @@ and open the template in the editor. {apply_filters('glm_custom_fields', 'winter address', $contact.id)}
{/if} {if apply_filters('glm_custom_fields', 'winter address 2', $contact.id)} - {apply_filters('glm_custom_fields', 'winter address', $contact.id)}
+ {apply_filters('glm_custom_fields', 'winter address 2', $contact.id)}
{/if} {if apply_filters('glm_custom_fields', 'winter city', $contact.id)} {apply_filters('glm_custom_fields', 'winter city', $contact.id)}, @@ -126,14 +152,23 @@ and open the template in the editor. {/if} {if apply_filters('glm_custom_fields', 'winter phone', $contact.id)} - Winter Phone: + Winter Phone:
{apply_filters('glm_custom_fields', 'winter phone', $contact.id)} {/if} - {if $contact.email}
Email: {$contact.email}
{/if} + {if $contact.email} +
+ Email:  + + {$contact.email} + +
+ {/if} {if apply_filters('glm_custom_fields', 'email 2', $contact.id)} Email 2: - {apply_filters('glm_custom_fields', 'email 2', $contact.id)} + + {apply_filters('glm_custom_fields', 'email 2', $contact.id)} + {/if}