adding member name to events that use member location
authorAnthony Talarico <talarico@gaslightmedia.com>
Wed, 7 Feb 2018 18:14:53 +0000 (13:14 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Wed, 7 Feb 2018 18:14:53 +0000 (13:14 -0500)
using the member name instead of the event location if there is a member location flag

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

index 3a2e7ce..46f436a 100644 (file)
                     </a>
                     <a href="{$siteBaseUrl}{$pageSlug}/{if !$customPage}{$event.name_slug}/?{else}?eventId={$event.id}&{/if}glm_event_from={$fromDate|unescape:"html"}">
                         <div class="{if !$event.image}sidebar-full-width{/if} glm-events-frontpage-event-title">
-                            {$event.name} {if $event.locations.name} @ {$event.locations.name} {/if}
+                            {$event.name} 
+                            {if $event.locations.name && !$event.use_member_location.value} 
+                                @ {$event.locations.name} 
+                            {elseif $event.use_member_location.value}
+                                @ {$event.ref_dest} 
+                            {/if}
                         </div>
                     </a>
                     <div class="{if !$event.image}sidebar-full-width{/if} glm-events-frontpage-event-dates">