Skip to content

Commit

Permalink
refactor: fix blade formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Ne-wt authored and github-actions[bot] committed Oct 30, 2023
1 parent 61e5637 commit 121d129
Show file tree
Hide file tree
Showing 7 changed files with 35 additions and 7 deletions.
6 changes: 5 additions & 1 deletion resources/views/admin/sales/_character_select.blade.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
@php
$characters = \App\Models\Character\Character::visible(Auth::check() ? Auth::user() : null)->orderBy('slug', 'DESC')->get()->pluck('fullName', 'slug')->toArray();
$characters = \App\Models\Character\Character::visible(Auth::check() ? Auth::user() : null)
->orderBy('slug', 'DESC')
->get()
->pluck('fullName', 'slug')
->toArray();
@endphp

<div id="characterComponents" class="hide">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
@php
$characters = \App\Models\Character\Character::visible(Auth::check() ? Auth::user() : null)->orderBy('slug', 'DESC')->get()->pluck('fullName', 'slug')->toArray();
$characters = \App\Models\Character\Character::visible(Auth::check() ? Auth::user() : null)
->orderBy('slug', 'DESC')
->get()
->pluck('fullName', 'slug')
->toArray();
@endphp

<div class="sales-character-entry mb-3 card">
Expand Down
6 changes: 5 additions & 1 deletion resources/views/admin/submissions/submission.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,11 @@
{!! Form::close() !!}

@php
$characters = \App\Models\Character\Character::visible(Auth::check() ? Auth::user() : null)->orderBy('slug', 'DESC')->get()->pluck('fullName', 'slug')->toArray();
$characters = \App\Models\Character\Character::visible(Auth::check() ? Auth::user() : null)
->orderBy('slug', 'DESC')
->get()
->pluck('fullName', 'slug')
->toArray();
@endphp

<div id="characterComponents" class="hide">
Expand Down
6 changes: 5 additions & 1 deletion resources/views/galleries/_character_select.blade.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
@php
$characters = \App\Models\Character\Character::visible(Auth::check() ? Auth::user() : null)->orderBy('slug', 'DESC')->get()->pluck('fullName', 'slug')->toArray();
$characters = \App\Models\Character\Character::visible(Auth::check() ? Auth::user() : null)
->orderBy('slug', 'DESC')
->get()
->pluck('fullName', 'slug')
->toArray();
@endphp

<div id="characterComponents" class="hide">
Expand Down
6 changes: 5 additions & 1 deletion resources/views/galleries/_character_select_entry.blade.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
@php
$characters = \App\Models\Character\Character::visible(Auth::check() ? Auth::user() : null)->orderBy('slug', 'DESC')->get()->pluck('fullName', 'slug')->toArray();
$characters = \App\Models\Character\Character::visible(Auth::check() ? Auth::user() : null)
->orderBy('slug', 'DESC')
->get()
->pluck('fullName', 'slug')
->toArray();
@endphp

<div class="submission-character mb-3">
Expand Down
6 changes: 5 additions & 1 deletion resources/views/widgets/_character_select.blade.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
@php
$characters = \App\Models\Character\Character::visible(Auth::check() ? Auth::user() : null)->orderBy('slug', 'DESC')->get()->pluck('fullName', 'slug')->toArray();
$characters = \App\Models\Character\Character::visible(Auth::check() ? Auth::user() : null)
->orderBy('slug', 'DESC')
->get()
->pluck('fullName', 'slug')
->toArray();
@endphp

<div id="characterComponents" class="hide">
Expand Down
6 changes: 5 additions & 1 deletion resources/views/widgets/_character_select_entry.blade.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
@php
$characters = \App\Models\Character\Character::visible(Auth::check() ? Auth::user() : null)->orderBy('slug', 'DESC')->get()->pluck('fullName', 'slug')->toArray();
$characters = \App\Models\Character\Character::visible(Auth::check() ? Auth::user() : null)
->orderBy('slug', 'DESC')
->get()
->pluck('fullName', 'slug')
->toArray();
@endphp

<div class="submission-character mb-3 card">
Expand Down

0 comments on commit 121d129

Please sign in to comment.