xref: /webtrees/resources/views/modules/statistics-chart/marriage-age.phtml (revision ef475b14d08542378dc3f165515f9182552984ef)
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('Age in year of marriage') ?>
11</h4>
12
13<div class="d-grid gap-3 mb-3">
14    <div class="row row-cols-1 row-cols-md-2 g-3">
15        <div class="col">
16            <div class="card">
17                <h5 class="card-header">
18                    <?= I18N::translate('Youngest male') ?> — #youngestMarriageMaleAge:1#
19                </h5>
20                <div class="card-body">
21                    #youngestMarriageMale#
22                </div>
23            </div>
24        </div>
25        <div class="col">
26            <div class="card">
27                <h5 class="card-header">
28                    <?= I18N::translate('Youngest female') ?> — #youngestMarriageFemaleAge:1#
29                </h5>
30                <div class="card-body">
31                    #youngestMarriageFemale#
32                </div>
33            </div>
34        </div>
35
36        <div class="col">
37            <div class="card">
38                <h5 class="card-header">
39                    <?= I18N::translate('Oldest male') ?> — #oldestMarriageMaleAge:1#
40                </h5>
41                <div class="card-body">
42                    #oldestMarriageMale#
43                </div>
44            </div>
45        </div>
46
47        <div class="col">
48            <div class="card">
49                <h5 class="card-header">
50                    <?= I18N::translate('Oldest female') ?> — #oldestMarriageFemaleAge:1#
51                </h5>
52                <div class="card-body">
53                    #oldestMarriageFemale#
54                </div>
55            </div>
56        </div>
57    </div>
58
59    <div class="card m-0">
60        <div class="card-body">
61            #statsMarrAge#
62        </div>
63    </div>
64</div>
65