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