@php $isPdfSignRoute = (\Request::segment(1) == 'c' && \Request::segment(3) == 'pdf-sign'); $isPdfSignInviteRoute = ($isPdfSignRoute && \Request::segment(4) == 'invite'); // For pdf-sign pages, if the user is logged in but not a community member, // hide the community left menu (it contains member-only navigation). $isLoggedInNonMember = false; try { $isLoggedInNonMember = (\Auth::check() && isset($community) && $community && method_exists($community, 'present') && ! $community->present()->canView()); } catch (\Throwable $e) { $isLoggedInNonMember = false; } $hideLeftMenu = $isPdfSignInviteRoute || ($isPdfSignRoute && $isLoggedInNonMember); @endphp @if(!$hideLeftMenu)
{!! Theme::section('layouts.features-menubar') !!}
@endif
@php $trialEndingHtml = null; if (\Auth::check() && $community->user_id == \Auth::id()) { $trialEndingHtml = $community->present()->showTrialEnding(); } @endphp @if($trialEndingHtml) {!! $trialEndingHtml !!} @endif {{-- {!! Theme::section('community.plan-payment') !!} --}} {!! $content !!} {!! Theme::section('community.page.history') !!}