xref: /webtrees/resources/views/modules/statistics-chart/marriage-length.phtml (revision b63ebfff10c4f748c10374a14a84550d3b653912)
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('Length of marriage') ?>
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('Longest marriage') ?> — #topAgeOfMarriage#
18            </h5>
19            <div class="card-body">
20                #topAgeOfMarriageFamily#
21            </div>
22        </div>
23    </div>
24
25    <div class="col">
26        <div class="card">
27            <h5 class="card-header">
28                <?= I18N::translate('Shortest marriage') ?> — #minAgeOfMarriage#
29            </h5>
30            <div class="card-body">
31                #minAgeOfMarriageFamily#
32            </div>
33        </div>
34    </div>
35</div>
36