Update for release
authorSteve Sutton <steve@gaslightmedia.com>
Thu, 9 Aug 2018 19:40:05 +0000 (15:40 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Thu, 9 Aug 2018 19:40:05 +0000 (15:40 -0400)
bump version number

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

index dc788c6..e5d18d2 100644 (file)
@@ -62,7 +62,6 @@ and open the template in the editor.
             <br>
             showing {$start} through {$lastDisplayed} of {$filteredContactsFound}
         {/if}
-
         {if $haveContacts}
             {foreach $contacts as $contact}
             <div class="glm-member-list-container glm-member-container small-12 columns">
@@ -81,32 +80,32 @@ and open the template in the editor.
                         </h4>
                         <div class="row glm-contact-info">
                             <div class="small-12 medium-6 columns">
-                                
+
                                 {if apply_filters('glm_custom_fields', 'cottage', $contact.id)}
                                 <div class="glm-row field-container">
                                     <span class="list-field-key">Cottage #:&nbsp;</span>
                                     <span class="list-field-value">{apply_filters('glm_custom_fields', 'cottage', $contact.id)}</span>
                                 </div>
                                 {/if}
-                                {if $contact.addr1 
-                                    || $contact.addr2 
-                                    || $contact.city.name 
-                                    || $contact.state.name 
+                                {if $contact.addr1
+                                    || $contact.addr2
+                                    || $contact.city
+                                    || $contact.state.name
                                     || $contact.zip
                                 }
                                 <div class="list-field-summer-address">
                                     <span class="list-field-key">Summer Address:</span><br>
                                     {if $contact.addr1}<span class="glm-contact-info-address1">{$contact.addr1}</span><br>{/if}
                                     {if $contact.addr2}<span class="glm-contact-info-address2">{$contact.addr2}</span><br>{/if}
-                                    {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}
-                                {if $contact.office_phone 
-                                    || $contact.home_phone 
-                                    || $contact.mobile_phone 
-                                    || $contact.alternate_phone 
+                                {if $contact.office_phone
+                                    || $contact.home_phone
+                                    || $contact.mobile_phone
+                                    || $contact.alternate_phone
                                     || $contact.fax
                                 }
                                     <span class="glm-contact-info-phone list-field-key">Summer Phone:</span><br>
@@ -126,7 +125,7 @@ and open the template in the editor.
                                         <span class="glm-contact-info-fax list-field-value">fax: {$contact.fax}</span><br>
                                     {/if}
                                 {/if}
-                                {if apply_filters('glm_custom_fields', 'winter address', $contact.id) 
+                                {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)
                                     || apply_filters('glm_custom_fields', 'winter state', $contact.id)
@@ -155,7 +154,7 @@ and open the template in the editor.
                                     <span class="list-field-key">Winter Phone: </span><br>
                                     <span class="list-field-value">{apply_filters('glm_custom_fields', 'winter phone', $contact.id)}</span>
                                 {/if}
-                                
+
                                 {if $contact.email}
                                 <div class="glm-contact-info-email">
                                     <span class="list-field-key">Email:&nbsp;</span>
@@ -170,7 +169,7 @@ and open the template in the editor.
                                         {apply_filters('glm_custom_fields', 'email 2', $contact.id)}
                                     </a>
                                 {/if}
-                                
+
                             </div>
                         </div>
                     </div>
@@ -193,4 +192,4 @@ and open the template in the editor.
 {include file='front/footer.html'}
 
     </body>
-</html>
\ No newline at end of file
+</html>
index bf9b391..48a1cd9 100644 (file)
--- a/style.css
+++ b/style.css
@@ -3,5 +3,5 @@ Theme Name: harborpointassociation2018
 Author: Gaslight Media
 Author URI: http://www.gaslightmedia.com
 Description: A theme for Harbor Point Association
-Version: 1.0.10
+Version: 1.0.11
 */