xref: /webtrees/resources/views/modules/statistics-chart/other-events.phtml (revision 7573bc3d78289b103f95e1640a3adf9095277886)
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('Total events') ?>
11    <span class="badge bg-secondary rounded-pill float-end">#totalEvents#</span>
12</h4>
13
14<div class="row row-cols-1 row-cols-md-2 g-3 mb-3">
15    <div class="col">
16        <div class="card">
17            <h5 class="card-header">
18                <?= I18N::translate('First event') ?> — #firstEventType#
19            </h5>
20            <div class="card-body">
21                #firstEvent#
22            </div>
23        </div>
24    </div>
25
26    <div class="col">
27        <div class="card">
28            <h5 class="card-header">
29                <?= I18N::translate('Last event') ?> — #lastEventType#
30            </h5>
31            <div class="card-body">
32                #lastEvent#
33            </div>
34        </div>
35    </div>
36</div>
37