-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
43 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
|
||
<div class="alert p-4 @if ($type) alert-{{ $type }} @else alert-info @endif tutorial rounded" id="{{ $id }}"> | ||
@auth | ||
<button type="button" class="text-xl opacity-50 hover:opacity-100 focus:opacity-100 cursor-pointer text-decoration-none float-right" data-dismiss="tutorial" data-target="#{{ $id }}" aria-hidden="true" data-url="{{ route('tutorials.dismiss', ['code' => $code]) }}"> | ||
<x-icon class="fa-regular fa-circle-xmark" tooltip="1" title="{{ __('crud.delete_modal.close') }}" /> | ||
</button> | ||
@endauth | ||
{!! $slot !!} | ||
|
||
@if (!empty($doc)) | ||
<p> | ||
{!! __('crud.helpers.learn_more', ['documentation' => '<a href="' . $doc . '" target="_blank"><i class="fa-solid fa-external-link" aria-hidden="true"></i> ' . __('footer.documentation') . '</a>']) !!} | ||
</p> | ||
@endif | ||
<div class="flex flex-col gap-2"> | ||
{!! $slot !!} | ||
@if (!empty($doc)) | ||
<p> | ||
{!! __('crud.helpers.learn_more', ['documentation' => '<a href="' . $doc . '" target="_blank"><i class="fa-solid fa-external-link" aria-hidden="true"></i> ' . __('footer.documentation') . '</a>']) !!} | ||
</p> | ||
@endif | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<x-tutorial code="abilities" doc="https://docs.kanka.io/en/latest/entities/abilities.html"> | ||
<p>{{ __('entities/abilities.show.helper') }}</p> | ||
<p>{!! __('entities/abilities.show.helper', ['name' => $entity->name]) !!}</p> | ||
</x-tutorial> | ||
@include('entities.pages.abilities._abilities') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,11 @@ | ||
<?php /** @var \App\Models\Entity $entity */?> | ||
<x-tutorial code="inventory" doc="https://docs.kanka.io/en/latest/features/inventory.html"> | ||
<p>{{ __('entities/inventories.tutorial') }}</p> | ||
@if ($entity->isCharacter()) | ||
<p>{!! __('entities/inventories.tutorials.character', ['name' => $entity->name]) !!}</p> | ||
@elseif ($entity->isLocation()) | ||
<p>{!! __('entities/inventories.tutorials.location', ['name' => $entity->name]) !!}</p> | ||
@else | ||
<p>{!! __('entities/inventories.tutorials.other', ['name' => $entity->name]) !!}</p> | ||
@endif | ||
</x-tutorial> | ||
@include('entities.pages.inventory.grid') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters