xref: /webtrees/resources/views/modules/statistics-chart/other-records.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('Records') ?>
11    <span class="badge bg-secondary rounded-pill float-end">#totalRecords#</span>
12</h4>
13
14<div class="row row-cols-1 row-cols-lg-2 g-3 mb-3">
15    <div class="col">
16        <div class="card">
17            <h5 class="card-header border-bottom-0">
18                <?= I18N::translate('Media objects') ?>
19                <span class="badge bg-secondary rounded-pill float-end">#totalMedia#</span>
20            </h5>
21        </div>
22    </div>
23
24    <div class="col">
25        <div class="card">
26            <h5 class="card-header border-bottom-0">
27                <?= I18N::translate('Sources') ?>
28                <span class="badge bg-secondary rounded-pill float-end">#totalSources#</span>
29            </h5>
30        </div>
31    </div>
32
33    <div class="col">
34        <div class="card">
35            <h5 class="card-header border-bottom-0">
36                <?= I18N::translate('Notes') ?>
37                <span class="badge bg-secondary rounded-pill float-end">#totalNotes#</span>
38            </h5>
39        </div>
40    </div>
41
42    <div class="col">
43        <div class="card">
44            <h5 class="card-header border-bottom-0">
45                <?= I18N::translate('Repositories') ?>
46                <span class="badge bg-secondary rounded-pill float-end">#totalRepositories#</span>
47            </h5>
48        </div>
49    </div>
50</div>
51