{{ $visit?->starts_on?->format('d') }} {{ mb_strtoupper($visit?->starts_on?->locale(app()->getLocale())->translatedFormat('M') ?? '') }} {{ $visit?->starts_on?->format('Y') }} {{ $isPast ? __('ui.group_visit_past') : __('ui.group_visit_planned') }} {{ $visit?->title ?: ($parkTranslation?->name ?: $park?->official_name) }} {{ $parkTranslation?->name ?: $park?->official_name }} @if($visit?->ends_on && !$visit->ends_on->equalTo($visit->starts_on)) {{ __('ui.group_visit_date_range', ['start' => $visit->starts_on->format('d/m/Y'), 'end' => $visit->ends_on->format('d/m/Y')]) }} @else {{ $visit?->starts_on?->format('d/m/Y') }} @endif {{ $acceptedCount }}{{ __('ui.group_visit_going') }} {{ $invitedCount }}{{ __('ui.group_visit_waiting') }} {{ $declinedCount }}{{ __('ui.group_visit_not_going') }} @if(!$isPast && $visit?->status === 'planned') @if($currentVisitMember?->invitation_status === 'accepted') ✓ {{ __('ui.group_visit_you_are_going') }} @else @csrf {{ __('ui.group_visit_join') }} @endif @if($currentVisitMember?->invitation_status !== 'declined') @csrf {{ __('ui.group_visit_decline') }} @else {{ __('ui.group_visit_you_declined') }} @endif @if($canManage) @csrf @method('DELETE') {{ __('ui.group_visit_cancel') }} @endif @endif {{ __('ui.group_visit_view_details') }} {{ __('ui.group_visit_open_map') }}
{{ $pollOpen ? __('ui.group_polls_open') : __('ui.group_polls_closed_state') }} {{ $poll->allow_multiple ? __('ui.group_polls_multiple_allowed') : __('ui.group_polls_single_choice') }} {{ $poll->question }} @if($poll->description) {{ $poll->description }} @endif {{ trans_choice('ui.group_polls_voters_count', $pollVoterCount, ['count' => $pollVoterCount]) }} {{ trans_choice('ui.group_polls_votes_count', $pollVoteCount, ['count' => $pollVoteCount]) }} {{ $poll->closes_at ? __('ui.group_polls_closes_at', ['date' => $poll->closes_at->format('d/m/Y H:i')]) : __('ui.group_polls_no_deadline') }} @if($canManage && $pollOpen) @csrf {{ __('ui.group_polls_close') }} @endif @csrf @foreach($poll->options as $option) @php $optionVotes = $option->votes->count(); $optionPercent = $pollVoterCount > 0 ? min(100, (int) round(($optionVotes / $pollVoterCount) * 100)) : 0; $optionSelected = $myPollVoteIds->contains((int) $option->id); $optionLeading = !$pollOpen && $pollMaxVotes > 0 && $optionVotes === $pollMaxVotes; @endphp @if($pollOpen) @if($poll->allow_multiple) @else @endif @else {{ $optionSelected ? '✓' : '' }} @endif {{ $option->label }} {{ trans_choice('ui.group_polls_votes_count', $optionVotes, ['count' => $optionVotes]) }} {{ $optionPercent }}% @endforeach @if($pollOpen) @if($myPollVoteIds->isNotEmpty()) ✓ {{ __('ui.group_polls_your_vote') }} @endif {{ $myPollVoteIds->isNotEmpty() ? __('ui.group_polls_update_vote') : __('ui.group_polls_vote') }} @endif
{{ mb_strtoupper(mb_substr($member?->username ?: $member?->name ?: '?', 0, 1)) }} {{ $member?->username ? '@'.$member->username : $member?->name }} {{ $membership->role === 'owner' ? __('ui.groups_role_owner') : __('ui.groups_role_member') }} @if($member?->username && in_array($member->socialSettings?->activity_visibility ?? null, ['friends','public'], true)) {{ __('ui.friends_view_profile') }} @endif @if($canManage && $group->owner_user_id !== $member?->id) @csrf @method('DELETE') {{ __('ui.groups_remove_member') }} @endif