@extends($layout) @section('content') @php $allCanvas = $allCanvas ?? []; $canvasTitle = ''; $canvasLabels = $canvasLabels ?? []; // get canvas title foreach ($allCanvas as $canvasRow) { if ($canvasRow['id'] == ($currentCanvas ?? '')) { $canvasTitle = $canvasRow['title']; break; } } @endphp
{!! $tpl->displayNotification() !!}
@if ($login::userIsAtLeast($roles::$editor)) @if (count($allCanvas) > 0) {!! __('buttons.add_idea') !!} @endif @endif
@if (count($allCanvas) > 0)
@foreach ($canvasItems as $row)
@if ($row['milestoneHeadline'] != '')
{!! __('label.loading_milestone') !!}
@endif
@endforeach
@if (count($canvasItems) == 0)
{!! file_get_contents(ROOT . '/dist/images/svg/undraw_new_ideas_jdea.svg') !!}

{!! __('headlines.have_an_idea') !!}


{!! __('subtitles.start_collecting_ideas') !!}

@endif
@else

{!! file_get_contents(ROOT . '/dist/images/svg/undraw_new_ideas_jdea.svg') !!}

{!! __('headlines.have_an_idea') !!}


{!! __('subtitles.start_collecting_ideas') !!}

@if ($login::userIsAtLeast($roles::$editor)) {!! __('links.icon.create_new_board') !!} @endif
@endif
@once @push('scripts') @endpush @endonce @endsection