diff options
Diffstat (limited to 'view/tpl/events_reminder.tpl')
-rwxr-xr-x[-rw-r--r--] | view/tpl/events_reminder.tpl | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/view/tpl/events_reminder.tpl b/view/tpl/events_reminder.tpl index f641a5faf..fd6a1a5c7 100644..100755 --- a/view/tpl/events_reminder.tpl +++ b/view/tpl/events_reminder.tpl @@ -1,10 +1,10 @@ -{{ if $count }} -<div id="event-notice" class="birthday-notice fakelink $classtoday" onclick="openClose('event-wrapper');">$event_reminders ($count)</div> -<div id="event-wrapper" style="display: none;" ><div id="event-title">$event_title</div> +{{if $count}} +<div id="event-notice" class="birthday-notice fakelink {{$classtoday}}" onclick="openClose('event-wrapper');">{{$event_reminders}} ({{$count}})</div> +<div id="event-wrapper" style="display: none;" ><div id="event-title">{{$event_title}}</div> <div id="event-title-end"></div> -{{ for $events as $event }} -<div class="event-list" id="event-$event.id"></a> <a href="events/$event.link">$event.title</a> $event.date </div> -{{ endfor }} +{{foreach $events as $event}} +<div class="event-list" id="event-{{$event.id}}"></a> <a href="events/{{$event.link}}">{{$event.title}}</a> {{$event.date}} </div> +{{/foreach}} </div> -{{ endif }} +{{/if}} |