@foreach ($album->albumParentTree() as $parentAlbum) @if ($parentAlbum->id == $album->id) @if (!empty($show_current_link) && $show_current_link) @else @endif @else @endif @endforeach