Fixed missing map detection for location lat/lon
authorChuck Scott <cscott@gaslightmedia.com>
Tue, 21 Aug 2018 21:16:03 +0000 (17:16 -0400)
committerChuck Scott <cscott@gaslightmedia.com>
Tue, 21 Aug 2018 21:16:03 +0000 (17:16 -0400)
views/front/events/detail.html

index 9b72bda..a326e57 100755 (executable)
                         <div class="glmgrid-small-12 glmgrid-medium-5 glmgrid-columns">
                             {if $event.member.lat}
                                 <div id="eventDetailMap">
+                {if $settings.selected_map_interface == 1}
+                                    <div id="eventDetail-map" title="Click to enlarge" style="height: 250px; width: 350px;">map...</div>
+                {/if}                                        
+                {if $settings.selected_map_interface == 2}
                                     <div id="eventDetail-map" title="Click to enlarge">map...</div>
+                {/if}                                        
                                     <div id="map-dialog"><div id="map_canvas" style="width:500px; height:400px">Loading...</div></div>
                                 </div>
                                 <div id="event-lat" rel="{$event.member.lat}"></div>