being more specific when checking for city name in the agenda events
authorAnthony Talarico <talarico@gaslightmedia.com>
Tue, 13 Feb 2018 20:30:21 +0000 (15:30 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Tue, 13 Feb 2018 20:30:21 +0000 (15:30 -0500)
checking for city is not specific enough, trying to check for city name to see if that works

glm-member-db-events/views/front/events/agenda.html

index 3c48d27..3465992 100644 (file)
@@ -75,7 +75,7 @@
                                                         {/if}
                                                          )
                                                         </div>
-                                                        {if $event.locations.city}
+                                                        {if $event.locations.city.name}
                                                            <div class="glm-agenda-city">City: {$event.locations.city.name}</div>
                                                         {/if}
                                                     {/if}