xref: /webtrees/resources/views/modules/statistics-chart/chart-sources.phtml (revision ab2c91523aeb171fd76225844c6c3c0d2440dda3)
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('Sources') ?>
11</h4>
12
13<div class="row row-cols-1 row-cols-lg-2 g-3 mb-3">
14    <div class="col">
15        <div class="card">
16            <h5 class="card-header">
17                <?= I18N::translate('Individuals with sources') ?>
18                <span class="badge bg-secondary rounded-pill float-end">#totalIndisWithSources#</span>
19            </h5>
20            <div class="card-body">
21                #chartIndisWithSources#
22            </div>
23        </div>
24    </div>
25
26    <div class="col">
27        <div class="card">
28            <h5 class="card-header">
29                <?= I18N::translate('Families with sources') ?>
30                <span class="badge bg-secondary rounded-pill float-end">#totalFamsWithSources#</span>
31            </h5>
32            <div class="card-body">
33                #chartFamsWithSources#
34            </div>
35        </div>
36    </div>
37</div>
38