From: Steve Sutton Date: Tue, 16 Oct 2018 15:50:40 +0000 (-0400) Subject: Update event detail page view file. X-Git-Tag: v1.0.0^2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=aeef6394056a4e64a7144d7d6994a30934a5c265;p=WP-Themes%2Fvisitalpena2018.git Update event detail page view file. correcting the nesting of the location display and the location. --- diff --git a/glm-member-db-events/views/front/events/agenda.html b/glm-member-db-events/views/front/events/agenda.html index c92d895..d252219 100644 --- a/glm-member-db-events/views/front/events/agenda.html +++ b/glm-member-db-events/views/front/events/agenda.html @@ -69,12 +69,14 @@ {/if} ) - {if $event.locations.city.name} -
City: {$event.locations.city.name}
- {/if} {/if} {/if} {/foreach} + + {if $event.locations.city.name} +
City: {$event.locations.city.name}
+ {/if} +
{if !$event.all_day && $showTime} {if $event.starting_date|date_format:"%l:%M %P" == $event.ending_date|date_format:"%l:%M %P"} @@ -85,7 +87,7 @@ {/if}
- {if $event.locations} + {if isset( $event.locations.name ) && $event.locations.name}
Location: {$event.locations.name}
{/if} @@ -130,9 +132,7 @@
- - - - diff --git a/style.css b/style.css index 23ca700..d5931c7 100644 --- a/style.css +++ b/style.css @@ -3,5 +3,5 @@ Theme Name: visitalpena2018 Author: Gaslight Media Author URI: http://www.gaslightmedia.com Description: A theme for Alpena CVB -Version: 0.0.1 +Version: 1.0.0 */