@extends($layout) @section('content') @php $allCanvas = $allCanvas ?? []; $canvasLabels = $canvasLabels ?? []; $canvasTitle = ''; // All states >0 (<1 is archive) $numberofColumns = count($canvasLabels); $size = floor((100 / $numberofColumns) * 100) / 100; // 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 ($canvasLabels as $key => $statusRow)

@if ($login::userIsAtLeast($roles::$manager)) @endif {{ $statusRow['name'] }}

@foreach ($canvasItems as $row) @if ($row['box'] == $key)
@if ($row['milestoneHeadline'] != '')
{!! __('label.loading_milestone') !!}
@endif
@endif @endforeach
@endforeach
@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)) {!! __('buttons.start_new_idea_board') !!} @endif
@endif
@once @push('scripts') @endpush @endonce @endsection