From 3afe383aaeebc9604cac2eb39dd70bc5f28046ac Mon Sep 17 00:00:00 2001 From: MuchQuak Date: Thu, 13 Feb 2025 13:19:40 -0800 Subject: [PATCH] Remove breadcrumbs because they are redundant with taxonomy tree and title --- resources/views/core/pages/taxon/profile.blade.php | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/resources/views/core/pages/taxon/profile.blade.php b/resources/views/core/pages/taxon/profile.blade.php index ec29171..512e4f9 100644 --- a/resources/views/core/pages/taxon/profile.blade.php +++ b/resources/views/core/pages/taxon/profile.blade.php @@ -1,18 +1,5 @@ @props(['taxon', 'parents', 'common_names', 'children' => []]) -@php -$breadcrumbs = [ - ['title' => 'Home', 'href' => url('')] -]; -foreach($parents as $parent) { - if($taxon->tid === $parent->tid) { - array_push($breadcrumbs, ['title' => $taxon->sciName ]); - } else if($taxon->parenttid == $parent->tid) { - array_push($breadcrumbs, ['title' => $parent->sciName, 'href' => url('taxon/' . $parent->tid)]); - } -} -@endphp -

{{ $taxon->sciName }} @@ -37,6 +24,7 @@

+ {{-- Taxonomy Information --}}