@if (count($clients) > 0) @endif @if (count($allProjects) == 0)

{{ __('notifications.not_assigned_to_any_project') }} @if($login::userIsAtLeast($roles::$manager))
{{ __('link.new_project') }} @endif
@endif ⭐ My Favorites
@php $hasFavorites = false; @endphp @foreach ($allProjects as $project) @if($project['isFavorite'] == true)
@include("projects::partials.projectCard", ["project" => $project, "type" => "detailed"])
@php $hasFavorites = true; @endphp @endif @endforeach @if($hasFavorites === false)
You don't have any favorites. 😿
@endif
🗂️ All Assigned Projects
@foreach ($allProjects as $project) @if($project['isFavorite'] == false)
@include("projects::partials.projectCard", ["project" => $project, "type" => "detailed"])
@endif @endforeach