xref: /webtrees/resources/views/admin/trees-unconnected.phtml (revision 0b5fd0a636fa959f5279ee28ebd2f27e921c091e)
1<?php use Fisharebest\Webtrees\I18N; ?>
2
3<?= view('components/breadcrumbs', ['links' => [route('admin-control-panel') => I18N::translate('Control panel'), route('admin-trees', ['ged' => $tree->name()]) => I18N::translate('Manage family trees '), $title]]) ?>
4
5<h1><?= $title ?></h1>
6
7<form class="form-inline">
8    <input type="hidden" name="route" value="admin-trees-unconnected"">
9    <input type="hidden" name="ged" value="<?= e($tree->name()) ?>">
10            <?= view('components/checkbox-inline', ['label' => I18N::translate('Include associates'), 'checked' => $associates, 'name' => 'associates']) ?>
11    <button type="submit">
12        <?= I18N::translate('update') ?>
13    </button>
14</form>
15
16<p><?= I18N::translate('These groups of individuals are not related to %s.', $root->fullName()) ?></p>
17
18<?php foreach ($individual_groups as $group) : ?>
19    <h2><?= I18N::plural('%s individual', '%s individuals', count($group), I18N::number(count($group))) ?></h2>
20    <ul>
21        <?php foreach ($group as $individual) : ?>
22            <li>
23                <a href="<?= e($individual->url()) ?>"><?= $individual->fullName() ?></a>
24            </li>
25        <?php endforeach ?>
26    </ul>
27<?php endforeach ?>
28