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