resources/views/character/profession/show.blade.php: try rendering wowhead link to recipe spell before crafted item.
This commit is contained in:
parent
162a4e8556
commit
eaa7167335
1 changed files with 3 additions and 1 deletions
|
|
@ -37,7 +37,9 @@
|
|||
@foreach($recipes as $recipe)
|
||||
<li class="flex">
|
||||
<x-link href="{{ route('recipe.show', [ 'recipe' => $recipe ]) }}">{{ $recipe->name }}</x-link>
|
||||
@if ($recipe->craft->external_id)
|
||||
@if ($recipe->spell)
|
||||
<x-wowhead class="h-5 w-5 ml-2" type="spell" id="{{ $recipe->spell->id }}" />
|
||||
@elseif ($recipe->craft && $recipe->craft->external_id)
|
||||
<x-wowhead class="h-5 w-5 ml-2" id="{{ $recipe->craft->external_id }}" />
|
||||
@endif
|
||||
</li>
|
||||
|
|
|
|||
Reference in a new issue