Updating the contact list view.
authorSteve Sutton <steve@gaslightmedia.com>
Tue, 3 Jul 2018 12:55:55 +0000 (08:55 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Tue, 3 Jul 2018 12:55:55 +0000 (08:55 -0400)
For the changes made to the data class for contacts.

glm-member-db-contacts/views/front/contacts/list.html

index 9e9a064..6501b3f 100644 (file)
@@ -118,7 +118,7 @@ and open the template in the editor.
                                         {if $contact.addr2}<div class="glm-contact-info-address2">{$contact.addr2}</div>{/if}
                                         {if $contact.zip or $contact.city.name or $contact.state.name}
                                         <div>
-                                            {if $contact.city.name}<span class="glm-contact-info-city">{$contact.city.name},</span>{/if}
+                                            {if $contact.city}<span class="glm-contact-info-city">{$contact.city},</span>{/if}
                                             {if $contact.state.name}<span class="glm-contact-info-state">{$contact.state.name}</span>{/if}
                                             {if $contact.zip}<span class="glm-contact-info-zip">{$contact.zip}</span>{/if}
                                         </div>{/if}