xref: /webtrees/resources/views/admin/trees-check.phtml (revision 37231d1e839cad24e911f38c73f4dc77a58e3eec)
1<?php use Fisharebest\Webtrees\I18N; ?>
2
3<?= view('components/breadcrumbs', ['links' => [route('admin-control-panel') => I18N::translate('Control panel'), route('admin-trees') => I18N::translate('Manage family trees'), $title]]) ?>
4
5<h1><?= $title ?></h1>
6
7<ul class="list-group">
8    <li class="list-group-item">
9        <strong><?= I18N::translate('GEDCOM errors') ?></strong>
10    </li>
11
12    <?php foreach ($errors as $error) : ?>
13        <li class="list-group-item list-group-item-danger"><?= $error ?></li>
14    <?php endforeach ?>
15
16    <?php foreach ($warnings as $warning) : ?>
17        <li class="list-group-item list-group-item-warning"><?= $warning ?></li>
18    <?php endforeach ?>
19
20    <?php if (empty($errors) && empty($warnings)) : ?>
21        <li class="list-group-item"><?= I18N::translate('No errors have been found.') ?></li>
22    <?php endif ?>
23</ul>
24