From aeef6394056a4e64a7144d7d6994a30934a5c265 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Tue, 16 Oct 2018 11:50:40 -0400 Subject: [PATCH] Update event detail page view file. correcting the nesting of the location display and the location. --- .../views/front/events/agenda.html | 15 +++++++-------- style.css | 2 +- 2 files changed, 8 insertions(+), 9 deletions(-) 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 */ -- 2.17.1