generated from spatie/package-skeleton-laravel
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #30 from rmsramos/develop
Fix and documentation
- Loading branch information
Showing
8 changed files
with
61 additions
and
37 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
<?php return [ | ||
<?php | ||
return [ | ||
'fields' => [ | ||
'log_name' => [ | ||
'label' => 'Type', | ||
|
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
16 changes: 9 additions & 7 deletions
16
resources/views/filament/tables/columns/activity-logs-properties.blade.php
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,17 +1,19 @@ | ||
<div class="my-2 text-sm tracking-tight"> | ||
@foreach($getState() as $key => $value) | ||
<span class="font-medium inline-block p-1 mr-1 rounded-md whitespace-normal text-gray-700 dark:text-gray-200 bg-gray-500/10"> | ||
<span class="inline-block p-1 mr-1 font-medium text-gray-700 whitespace-normal rounded-md dark:text-gray-200 bg-gray-500/10"> | ||
{{ $key }} | ||
</span> | ||
|
||
@unless(is_array($value)) | ||
{{ $value }} | ||
@else | ||
<span class="divide-x whitespace-normal divide-solid divide-gray-200 dark:divide-gray-700"> | ||
@if(is_array($value)) | ||
<span class="whitespace-normal divide-x divide-gray-200 divide-solid dark:divide-gray-700"> | ||
@foreach ($value as $nestedKey => $nestedValue) | ||
{{$nestedKey}}: {{$nestedValue}} | ||
<span class="inline-block mr-1"> | ||
{{ $nestedKey }}: {{ is_array($nestedValue) ? json_encode($nestedValue) : $nestedValue }} | ||
</span> | ||
@endforeach | ||
</span> | ||
@endunless | ||
@else | ||
<span class="whitespace-normal">{{ $value }}</span> | ||
@endif | ||
@endforeach | ||
</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
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