xref: /webtrees/resources/views/modules/statistics-chart/children.phtml (revision 6172e7f6cb6d9b42e9feef9b728f7561b0d70dc9)
1<?php
2
3declare(strict_types=1);
4
5use Fisharebest\Webtrees\I18N;
6
7?>
8
9<h4 class="border-bottom p-2 mb-4">
10    <?= I18N::translate('Children in family') ?>
11</h4>
12
13<div class="row row-cols-1 row-cols-md-2 g-3 mb-3">
14    <div class="col">
15        <div class="card">
16            <h5 class="card-header">
17                <?= I18N::translate('Average number of children per family') ?>
18                <span class="badge bg-secondary rounded-pill float-end">#averageChildren#</span>
19            </h5>
20            <div class="card-body">
21                #statsChildren#
22            </div>
23        </div>
24    </div>
25
26    <div class="col">
27        <div class="card">
28            <h5 class="card-header">
29                <?= I18N::translate('Number of families without children') ?>
30                <span class="badge bg-secondary rounded-pill float-end">#noChildrenFamilies#</span>
31            </h5>
32            <div class="card-body">
33                #chartNoChildrenFamilies#
34            </div>
35        </div>
36    </div>
37
38    <div class="col">
39        <div class="card">
40            <h5 class="card-header">
41                <?= I18N::translate('Largest families') ?>
42            </h5>
43            #topTenLargestFamilyList#
44        </div>
45    </div>
46
47    <div class="col">
48        <div class="card">
49            <h5 class="card-header">
50                <?= I18N::translate('Largest number of grandchildren') ?>
51            </h5>
52            #topTenLargestGrandFamilyList#
53        </div>
54    </div>
55</div>
56