From: Anthony Talarico Date: Mon, 10 Oct 2016 18:41:49 +0000 (-0400) Subject: removing the 'on' phrase from agenda view events if there are 0 or 7 days listed... X-Git-Tag: v1.4.2^2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=f83254ed062b95272b6e530160250c829f2b5248;p=WP-Plugins%2Fglm-member-db-events.git removing the 'on' phrase from agenda view events if there are 0 or 7 days listed in the recurrences --- diff --git a/views/front/events/agenda.html b/views/front/events/agenda.html index 8845455..46ff0ee 100644 --- a/views/front/events/agenda.html +++ b/views/front/events/agenda.html @@ -22,7 +22,7 @@

{$event.name}

( Occurring {$event.recurrences.0.from_date.date} - {$event.recurrences.0.to_date.date} - {if $event.recurrences.0.day_of_week.names|@count < 7} + {if $event.recurrences.0.day_of_week.names|@count < 7 && $event.recurrences.0.day_of_week.names|@count > 0 } on {foreach $event.recurrences.0.day_of_week.names as $day}