mirror of
https://github.com/usetrmnl/byos_laravel.git
synced 2026-01-13 23:18:10 +00:00
fix(#12): correct mispelled word recipe
fix(#12): correct mispelled word recipe
This commit is contained in:
parent
302730c81e
commit
f530875210
17 changed files with 93 additions and 46 deletions
|
|
@ -1,57 +0,0 @@
|
|||
<x-trmnl::view>
|
||||
<x-trmnl::layout>
|
||||
<x-trmnl::table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>
|
||||
<x-trmnl::title>Abfahrt</x-trmnl::title>
|
||||
</th>
|
||||
<th>
|
||||
<x-trmnl::title>Aktuell</x-trmnl::title>
|
||||
</th>
|
||||
<th>
|
||||
<x-trmnl::title>Zug</x-trmnl::title>
|
||||
</th>
|
||||
<th>
|
||||
<x-trmnl::title>Ziel</x-trmnl::title>
|
||||
</th>
|
||||
<th>
|
||||
<x-trmnl::title>Steig</x-trmnl::title>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach($data['departures'] as $journey)
|
||||
<tr>
|
||||
<td>
|
||||
<x-trmnl::label>{{ \Carbon\Carbon::parse($journey['scheduledTime'])->setTimezone(config('app.timezone'))->format('H:i') }}</x-trmnl::label>
|
||||
</td>
|
||||
@if($journey['isCancelled'])
|
||||
<td>
|
||||
<x-trmnl::label variant="inverted">{{ $journey->status }}</x-trmnl::label>
|
||||
</td>
|
||||
@else
|
||||
<td>
|
||||
<x-trmnl::label>{{ \Carbon\Carbon::parse($journey['time'])->setTimezone(config('app.timezone'))->format('H:i') }}</x-trmnl::label>
|
||||
</td>
|
||||
@endif
|
||||
<td>
|
||||
<x-trmnl::label
|
||||
variant="{{ $journey['isCancelled'] ? 'gray-out' : '' }}">{{ $journey['train'] }}</x-trmnl::label>
|
||||
</td>
|
||||
<td>
|
||||
<x-trmnl::label
|
||||
variant="{{ $journey['isCancelled'] ? 'gray-out' : '' }}">{{ $journey['destination'] }}</x-trmnl::label>
|
||||
</td>
|
||||
<td>
|
||||
<x-trmnl::label
|
||||
variant="{{ $journey['isCancelled'] ? 'gray-out' : '' }}">{{ $journey['platform']}}</x-trmnl::label>
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</x-trmnl::table>
|
||||
</x-trmnl::layout>
|
||||
<x-trmnl::title-bar title="{{config('services.oebb.station_name')}}"
|
||||
instance="aktualisiert: {{now()}}"/>
|
||||
</x-trmnl::view>
|
||||
Loading…
Add table
Add a link
Reference in a new issue