From: Steve Sutton Date: Fri, 10 Aug 2018 13:30:32 +0000 (-0400) Subject: More updates for member directory. X-Git-Tag: v1.0.19^2~19 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=73c3a201b2235221d1f2c9c96bd3da7992127066;p=WP-Themes%2Fmigcsa.git More updates for member directory. Remove the space before the , CGCS Remove commas after city Use State value (abbr) and not full state name --- diff --git a/glm-member-db-contacts/views/front/contacts/list.html b/glm-member-db-contacts/views/front/contacts/list.html index aeb54c0..9eaa4db 100644 --- a/glm-member-db-contacts/views/front/contacts/list.html +++ b/glm-member-db-contacts/views/front/contacts/list.html @@ -67,6 +67,7 @@ and open the template in the editor. showing {$start} through {$lastDisplayed} of {$filteredContactsFound} {/if} + {debug} {$contacts_with_subs = apply_filters("get_contacts_with_subs", $contacts)} @@ -140,10 +141,7 @@ and open the template in the editor. {if $contact_title}
- {$contact_title} - {if $cgcs == 'Yes'} - , CGCS - {/if} + {$contact_title}{if $cgcs == 'Yes'}, CGCS{/if}
{/if} @@ -189,10 +187,10 @@ and open the template in the editor. {/if} {if $contact_addr1}
{$contact_addr1}
{/if} {if $contact_addr2}
{$contact_addr2}
{/if} - {if $contact_zip or $contact_city or $contact_state.name} + {if $contact_zip or $contact_city or $contact_state.value}
- {if $contact_city}{$contact_city},{/if} - {if $contact_state.name}{$contact_state.name}{/if} + {if $contact_city}{$contact_city}{/if} + {if $contact_state.value}{$contact_state.value}{/if} {if $contact_zip}{$contact_zip}{/if}
{/if} @@ -269,10 +267,7 @@ and open the template in the editor. {if $contact.title}
- {$contact.title} - {if $cgcs == 'Yes'} - , CGCS - {/if} + {$contact.title}{if $cgcs == 'Yes'}, CGCS{/if}
{/if} @@ -286,12 +281,12 @@ and open the template in the editor. {if $contact.business_addr1}
{$contact.business_addr1}
{/if} {if $contact.business_addr2}
{$contact.business_addr2}
{/if} - {if $contact.business_zip or $contact.business_city or $contact.business_state.name} + {if $contact.business_zip or $contact.business_city or $contact.business_state.value}
- {if $contact.business_city}{$contact.business_city},{/if} - {if $contact.business_state.name}{$contact.business_state.name}{/if} + {if $contact.business_city}{$contact.business_city}{/if} + {if $contact.business_state.value}{$contact.business_state.value}{/if} {if $contact.business_zip}{$contact.business_zip}{/if} - {if $contact.business_country.name}, {$contact.business_country.name}{/if} + {if $contact.business_country.name} {$contact.business_country.name}{/if}
{/if}