From: Anthony Talarico Date: Fri, 4 Nov 2016 17:31:56 +0000 (-0400) Subject: adding comma separation to the event types and the beer types in the beer week agenda... X-Git-Tag: v1.5.4^2~22 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=d421f3d8ea178a6336da8ab9a4ff0c098ee868f5;p=WP-Plugins%2Fglm-member-db-events.git adding comma separation to the event types and the beer types in the beer week agenda view event content --- diff --git a/views/front/events/beerweek.html b/views/front/events/beerweek.html index 7c7a7c9..c98fb49 100644 --- a/views/front/events/beerweek.html +++ b/views/front/events/beerweek.html @@ -58,10 +58,11 @@
+ {if !empty($event.amenities)} Beer Types: - {foreach $event.amenities as $beer} - {$beer.name} + {foreach from=$event.amenities key=key item=beer name=array} + {$beer.name} {if not $smarty.foreach.array.last} , {/if} {/foreach} {/if} @@ -70,8 +71,8 @@ {if !empty($event.categories)} Event Types: - {foreach $event.categories as $type} - {$type.name} + {foreach from=$event.categories key=key item=type name=array} + {$type.name} {if not $smarty.foreach.array.last} , {/if} {/foreach} {/if}