38 lines
1.4 KiB
PHP
38 lines
1.4 KiB
PHP
|
<x-layout-app>
|
||
|
<div class="container-xl">
|
||
|
<div class="page-header">
|
||
|
<h1>{{ $maintenance_history->maintenance->name }}</h1>
|
||
|
</div>
|
||
|
<p>{!! $maintenance_history->maintenance->description !!}</p>
|
||
|
@foreach ($maintenance_history->historyHosts as $historyHost)
|
||
|
<h2>
|
||
|
@if (empty($historyHost->summary))
|
||
|
<i class="fas fa-check text-success"></i>
|
||
|
@else
|
||
|
<i class="fas fa-times text-danger"></i>
|
||
|
@endif{{ $historyHost->host->hostname }}
|
||
|
</h2>
|
||
|
@if (!empty($historyHost->summary))
|
||
|
<b>{{ __('Oduvodnění') }}</b>
|
||
|
<p>{!! $historyHost->summary !!}</p>
|
||
|
@endif
|
||
|
@foreach ($historyHost->historyTasks as $historyTask)
|
||
|
<h3>
|
||
|
@if (empty($historyTask->summary))
|
||
|
<i class="fas fa-check text-success"></i>
|
||
|
@else
|
||
|
<i class="fas fa-times text-danger"></i>
|
||
|
@endif
|
||
|
{{ $historyTask->maintenanceTask->task->name }}
|
||
|
</h3>
|
||
|
@if (!empty($historyTask->summary))
|
||
|
<b>{{ __('Oduvodnění') }}</b>
|
||
|
<p>{!! $historyTask->summary !!}</p>
|
||
|
@endif
|
||
|
@endforeach
|
||
|
|
||
|
<hr>
|
||
|
@endforeach
|
||
|
</div>
|
||
|
</x-layout-app>
|