@extends('master') @section('head_css') @if (Utils::isNinjaDev()) @endif @stop @section('head') @stop @section('body') @if (Utils::isNinjaProd() && ! Request::is('settings/account_management')) @include('partials.upgrade_modal') @endif
@include('partials.warn_session', ['redirectTo' => '/dashboard']) @if (Session::has('warning'))
{!! Session::get('warning') !!}
@elseif (env('WARNING_MESSAGE'))
{!! env('WARNING_MESSAGE') !!}
@endif @if (Session::has('message'))
{{ Session::get('message') }}
@elseif (Session::has('news_feed_message'))
{!! Session::get('news_feed_message') !!} {{ trans('texts.hide') }}
@endif @if (Session::has('error'))
{!! Session::get('error') !!}
@endif
@yield('top-right')
@if (!isset($showBreadcrumbs) || $showBreadcrumbs) {!! Form::breadcrumbs((! empty($entity) && $entity->exists && !$entity->deleted_at) ? $entity->present()->statusLabel : false) !!} @endif @yield('content')
@if (Utils::isNinjaProd()) @if (Auth::check() && Auth::user()->hasActivePromo()) {!! trans('texts.promotion_footer', [ 'link' => '' . trans('texts.click_here') . '' ]) !!} @elseif (Auth::check() && Auth::user()->isTrial()) {!! trans(Auth::user()->account->getCountTrialDaysLeft() == 0 ? 'texts.trial_footer_last_day' : 'texts.trial_footer', [ 'count' => Auth::user()->account->getCountTrialDaysLeft(), 'link' => '' . trans('texts.click_here') . '' ]) !!} @endif @else @include('partials.white_label', ['company' => Auth::user()->account->company]) @endif
@include('partials.contact_us') @include('partials.sign_up') @if (!request()->is('*proposals*')) @include('partials.keyboard_shortcuts') @endif @if (auth()->check() && auth()->user()->registered && ! auth()->user()->hasAcceptedLatestTerms()) @include('partials.accept_terms') @endif

 

@stop