{!! Theme::section('community.page.weather') !!}
Recent Activities
@php $cbRecentUnread = (int)($recentUnreadPosts ?? $community->present()->getRecentUnreadPosts()); @endphp
{{ $cbRecentUnread === 0 ? '0' : str_pad((string)$cbRecentUnread, 2, '0', STR_PAD_LEFT) }}

Unread Activities

Recent Announcements
@if(count($announcements)>0) @foreach($announcements as $post)
@if($post->post_header_texts) {!! $post->present()->text(Str::limit($post->post_header_texts, 50))!!} @else {!! $post->present()->text(Str::limit($post->text, 50))!!} @endif
@endforeach View All @else No announcement found! @endif
@php $cbTaskTotal = (int)($taskCounts['total'] ?? $community->present()->getTasksCount()); $cbTaskLow = (int)($taskCounts['low'] ?? $community->present()->getTasksCountByPriority(1)); $cbTaskUrgent = (int)($taskCounts['urgent'] ?? $community->present()->getTasksCountByPriority(2)); $cbTaskNormal = (int)($taskCounts['normal'] ?? $community->present()->getTasksCountByPriority(0)); @endphp
Task Updates {{ $cbTaskTotal === 0 ? '0' : str_pad((string)$cbTaskTotal, 2, '0', STR_PAD_LEFT) }}
{{ $cbTaskLow === 0 ? '0' : str_pad((string)$cbTaskLow, 2, '0', STR_PAD_LEFT) }}
Low
{{ $cbTaskUrgent === 0 ? '0' : str_pad((string)$cbTaskUrgent, 2, '0', STR_PAD_LEFT) }}
Urgent
{{ $cbTaskNormal === 0 ? '0' : str_pad((string)$cbTaskNormal, 2, '0', STR_PAD_LEFT) }}
Normal
Task Updates View All
@foreach($newsTasks as $ntask)
{{$ntask->title}}
@endforeach
Upcoming Meetings
@if(count($upcomingMeetings)>0) @php $firstMeeting = $upcomingMeetings[0]; $firstStartTime = appointmentTimeConvert($firstMeeting->appointment_date." ".$firstMeeting->master_start_time, $firstMeeting->master_timezone, $myTimeZone); $meetingDateLine = date('F j, Y', strtotime($firstStartTime)); $meetingTzAbbr = null; try { $meetingTz = new \DateTimeZone($myTimeZone ?: ($firstMeeting->master_timezone ?: 'UTC')); $meetingTzAbbr = (new \DateTime($firstStartTime, $meetingTz))->format('T'); } catch (\Exception $e) { $meetingTzAbbr = null; } @endphp
{{$meetingDateLine}}@if($meetingTzAbbr) ({{$meetingTzAbbr}})@endif
@foreach($upcomingMeetings as $appointment)