Skip to content

Commit

Permalink
fix: broken classification links fix
Browse files Browse the repository at this point in the history
  • Loading branch information
CS76 committed Sep 12, 2024
1 parent 4e4ac6c commit 5ba0554
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions resources/views/livewire/molecule-details.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -385,31 +385,31 @@ classification
</div>
<div class="px-4 py-6 sm:px-6">
<ul role="list" class="px-0">
<li class="py-1 flex md:py-0"><span class="ml-3 text-base text-gray-500">
<li class="py-1 flex md:py-0"><span class="ml-3 text-base">
<b>Super class</b>:
<a target="_blank" href="../search?q=superclass%3A{{ $molecule->properties && $molecule->properties['chemical_super_class'] ? $molecule->properties['chemical_super_class'] : '-' }}&amp;page=1&amp;type=filters">
<a class="hover:text-blue-600 hover:underline" target="_blank" href="../search?q=superclass%3A{{ $molecule->properties && $molecule->properties['chemical_super_class'] ? Str::slug($molecule->properties['chemical_super_class']) : '-' }}&amp;page=1&amp;type=filters">
{{ $molecule->properties && $molecule->properties['chemical_super_class'] ? $molecule->properties['chemical_super_class'] : '-' }}
</a>
</span>
</li>
<li class="py-1 flex md:py-0"><span
class="ml-3 text-base text-gray-500"><b>Class</b>:
<a target="_blank" href="../search?q=class%3A{{ $molecule->properties && $molecule->properties['chemical_class'] ? $molecule->properties['chemical_class'] : '-' }}&amp;page=1&amp;type=filters">
class="ml-3 text-base"><b>Class</b>:
<a class="hover:text-blue-600 hover:underline" target="_blank" href="../search?q=class%3A{{ $molecule->properties && $molecule->properties['chemical_class'] ? Str::slug($molecule->properties['chemical_class']) : '-' }}&amp;page=1&amp;type=filters">
{{ $molecule->properties && $molecule->properties['chemical_class'] ? $molecule->properties['chemical_class'] : '-' }}</span>
</a>
</li>
<li class="py-1 flex md:py-0"><span
class="ml-3 text-base text-gray-500"><b>Sub
class="ml-3 text-base"><b>Sub
class</b>:
<a target="_blank" href="../search?q=subclass%3A{{ $molecule->properties && $molecule->properties['chemical_sub_class'] ? $molecule->properties['chemical_sub_class'] : '-' }}&amp;page=1&amp;type=filters">
<a class="hover:text-blue-600 hover:underline" target="_blank" href="../search?q=subclass%3A{{ $molecule->properties && $molecule->properties['chemical_sub_class'] ? Str::slug($molecule->properties['chemical_sub_class']) : '-' }}&amp;page=1&amp;type=filters">
{{ $molecule->properties && $molecule->properties['chemical_sub_class'] ? $molecule->properties['chemical_sub_class'] : '-' }}
</a>
</span>
</li>
<li class="py-1 flex md:py-0"><span
class="ml-3 text-base text-gray-500"><b>Direct
class="ml-3 text-base"><b>Direct
parent</b>:
<a target="_blank" href="../search?q=parent%3A{{ $molecule->properties && $molecule->properties['direct_parent_classification'] ? $molecule->properties['direct_parent_classification'] : '-' }}&amp;page=1&amp;type=filters">
<a class="hover:text-blue-600 hover:underline" target="_blank" href="../search?q=parent%3A{{ $molecule->properties && $molecule->properties['direct_parent_classification'] ? Str::slug($molecule->properties['direct_parent_classification']) : '-' }}&amp;page=1&amp;type=filters">
{{ $molecule->properties && $molecule->properties['direct_parent_classification'] ? $molecule->properties['direct_parent_classification'] : '-' }}
</a>
</span>
Expand Down

0 comments on commit 5ba0554

Please sign in to comment.