1<?php 2 3use Fisharebest\Webtrees\Http\RequestHandlers\ControlPanel; 4use Fisharebest\Webtrees\Http\RequestHandlers\ManageTrees; 5use Fisharebest\Webtrees\I18N; 6 7?> 8 9<?= view('components/breadcrumbs', ['links' => [route(ControlPanel::class) => I18N::translate('Control panel'), route(ManageTrees::class, ['tree' => $tree->name()]) => I18N::translate('Manage family trees'), $title]]) ?> 10 11<h1><?= $title ?></h1> 12 13<ul class="list-group"> 14 <li class="list-group-item"> 15 <strong><?= I18N::translate('GEDCOM errors') ?></strong> 16 </li> 17 18 <?php foreach ($errors as $error) : ?> 19 <li class="list-group-item list-group-item-danger"><?= $error ?></li> 20 <?php endforeach ?> 21 22 <?php foreach ($warnings as $warning) : ?> 23 <li class="list-group-item list-group-item-warning"><?= $warning ?></li> 24 <?php endforeach ?> 25 26 <?php if ($errors === [] && $warnings === []) : ?> 27 <li class="list-group-item"><?= I18N::translate('No errors have been found.') ?></li> 28 <?php endif ?> 29</ul> 30