Skip to content

Commit d324c76

Browse files
committed
Blade Style Change (Prettier Blade CI)
1 parent 378af76 commit d324c76

File tree

1 file changed

+74
-76
lines changed

1 file changed

+74
-76
lines changed

resources/views/livewire/application-search.blade.php

+74-76
Original file line numberDiff line numberDiff line change
@@ -44,87 +44,85 @@ class="form__text"
4444
<div class="data-table-wrapper">
4545
<table class="data-table">
4646
<thead>
47-
<tr>
48-
<th>#</th>
49-
<th>{{ __('common.user') }}</th>
50-
<th>{{ __('common.email') }}</th>
51-
<th>{{ __('staff.application-type') }}</th>
52-
<th>{{ __('common.image') }}</th>
53-
<th>{{ __('staff.links') }}</th>
54-
<th>{{ __('common.created_at') }}</th>
55-
<th>{{ __('common.status') }}</th>
56-
<th>{{ __('common.moderated-by') }}</th>
57-
<th>{{ __('common.action') }}</th>
58-
</tr>
47+
<tr>
48+
<th>#</th>
49+
<th>{{ __('common.user') }}</th>
50+
<th>{{ __('common.email') }}</th>
51+
<th>{{ __('staff.application-type') }}</th>
52+
<th>{{ __('common.image') }}</th>
53+
<th>{{ __('staff.links') }}</th>
54+
<th>{{ __('common.created_at') }}</th>
55+
<th>{{ __('common.status') }}</th>
56+
<th>{{ __('common.moderated-by') }}</th>
57+
<th>{{ __('common.action') }}</th>
58+
</tr>
5959
</thead>
6060
<tbody>
61-
@forelse ($applications as $application)
62-
<tr>
63-
<td>{{ $application->id }}</td>
64-
<td>
65-
@if ($application->user === null)
66-
N/A
67-
@else
68-
<x-user_tag :anon="false" :user="$application->user" />
69-
@endif
70-
</td>
71-
<td>{{ $application->email }}</td>
72-
<td>{{ $application->type }}</td>
73-
<td>{{ $application->imageProofs->count() }}</td>
74-
<td>{{ $application->urlProofs->count() }}</td>
75-
<td>
76-
<time
77-
datetime="{{ $application->created_at }}"
78-
title="{{ $application->created_at }}"
79-
>
80-
{{ $application->created_at->diffForHumans() }}
81-
</time>
82-
</td>
83-
<td>
84-
@switch($application->status)
85-
@case(\App\Models\Application::PENDING)
86-
<span class="application--pending">Pending</span>
61+
@forelse ($applications as $application)
62+
<tr>
63+
<td>{{ $application->id }}</td>
64+
<td>
65+
@if ($application->user === null)
66+
N/A
67+
@else
68+
<x-user_tag :anon="false" :user="$application->user" />
69+
@endif
70+
</td>
71+
<td>{{ $application->email }}</td>
72+
<td>{{ $application->type }}</td>
73+
<td>{{ $application->imageProofs->count() }}</td>
74+
<td>{{ $application->urlProofs->count() }}</td>
75+
<td>
76+
<time
77+
datetime="{{ $application->created_at }}"
78+
title="{{ $application->created_at }}"
79+
>
80+
{{ $application->created_at->diffForHumans() }}
81+
</time>
82+
</td>
83+
<td>
84+
@switch($application->status)
85+
@case(\App\Models\Application::PENDING)
86+
<span class="application--pending">Pending</span>
8787

88-
@break
89-
@case(\App\Models\Application::APPROVED)
90-
<span class="application--approved">Approved</span>
88+
@break
89+
@case(\App\Models\Application::APPROVED)
90+
<span class="application--approved">Approved</span>
9191

92-
@break
93-
@case(\App\Models\Application::REJECTED)
94-
<span class="application--rejected">Rejected</span>
92+
@break
93+
@case(\App\Models\Application::REJECTED)
94+
<span class="application--rejected">Rejected</span>
9595

96-
@break
97-
@default
98-
<span class="application--unknown">Unknown</span>
99-
@endswitch
100-
</td>
101-
<td>
102-
@if ($application->moderated === null)
103-
N/A
104-
@else
105-
<x-user_tag :anon="false" :user="$application->moderated" />
106-
@endif
107-
</td>
108-
<td>
109-
<menu class="data-table__actions">
110-
<li class="data-table__action">
111-
<a
112-
class="form__button form__button--text"
113-
href="{{ route('staff.applications.show', ['id' => $application->id]) }}"
114-
>
115-
{{ __('common.view') }}
116-
</a>
117-
</li>
118-
</menu>
119-
</td>
120-
</tr>
121-
@empty
122-
<tr class="applications--empty">
123-
<td colspan="10">
124-
{{ __('common.no') }} {{ __('staff.applications') }}
125-
</td>
126-
</tr>
127-
@endforelse
96+
@break
97+
@default
98+
<span class="application--unknown">Unknown</span>
99+
@endswitch
100+
</td>
101+
<td>
102+
@if ($application->moderated === null)
103+
N/A
104+
@else
105+
<x-user_tag :anon="false" :user="$application->moderated" />
106+
@endif
107+
</td>
108+
<td>
109+
<menu class="data-table__actions">
110+
<li class="data-table__action">
111+
<a
112+
class="form__button form__button--text"
113+
href="{{ route('staff.applications.show', ['id' => $application->id]) }}"
114+
>
115+
{{ __('common.view') }}
116+
</a>
117+
</li>
118+
</menu>
119+
</td>
120+
</tr>
121+
@empty
122+
<tr class="applications--empty">
123+
<td colspan="10">{{ __('common.no') }} {{ __('staff.applications') }}</td>
124+
</tr>
125+
@endforelse
128126
</tbody>
129127
</table>
130128
</div>

0 commit comments

Comments
 (0)