xref: /webtrees/resources/views/modules/statistics-chart/other.phtml (revision d993d560f991544b8dc49e013a8027c6fc967956)
1<?php use Fisharebest\Webtrees\I18N; ?>
2
3<h3>
4    <?= I18N::translate('Records') ?>: <?= $stats->totalRecords() ?>
5</h3>
6
7<table>
8    <tr>
9        <td><?= I18N::translate('Media objects') ?></td>
10        <td><?= I18N::translate('Sources') ?></td>
11        <td><?= I18N::translate('Notes') ?></td>
12        <td><?= I18N::translate('Repositories') ?></td>
13    </tr>
14    <tr>
15        <td><?= $stats->totalMedia() ?></td>
16        <td><?= $stats->totalSources() ?></td>
17        <td><?= $stats->totalNotes() ?></td>
18        <td><?= $stats->totalRepositories() ?></td>
19    </tr>
20</table>
21
22<h3><?= I18N::translate('Total events'), ': ', $stats->totalEvents() ?></h3>
23
24<table>
25    <tr>
26        <td><?= I18N::translate('First event'), ' - ', $stats->firstEventType() ?></td>
27        <td><?= I18N::translate('Last event'), ' - ', $stats->lastEventType() ?></td>
28    </tr>
29    <tr>
30        <td><?= $stats->firstEvent() ?></td>
31        <td><?= $stats->lastEvent() ?></td>
32    </tr>
33</table>
34
35<h3><?= I18N::translate('Media objects'), ': ', $stats->totalMedia() ?></h3>
36
37<table>
38    <tr>
39        <td><?= I18N::translate('Media objects') ?></td>
40    </tr>
41    <tr>
42        <td><?= $stats->chartMedia() ?></td>
43    </tr>
44</table>
45
46<h3><?= I18N::translate('Sources'), ': ', $stats->totalSources() ?></h3>
47
48<table>
49    <tr>
50        <td><?= I18N::translate('Individuals with sources') ?></td>
51        <td><?= I18N::translate('Families with sources') ?></td>
52    </tr>
53    <tr>
54        <td><?= $stats->totalIndisWithSources() ?></td>
55        <td><?= $stats->totalFamsWithSources() ?></td>
56    </tr>
57    <tr>
58        <td><?= $stats->chartIndisWithSources() ?></td>
59        <td><?= $stats->chartFamsWithSources() ?></td>
60    </tr>
61</table>
62
63<h3><?= I18N::translate('Places'), ': ', $stats->totalPlaces() ?></h3>
64
65<table>
66    <tr>
67        <td><?= I18N::translate('Birth places') ?></td>
68        <td><?= I18N::translate('Death places') ?></td>
69    </tr>
70    <tr>
71        <td><?= $stats->commonBirthPlacesList() ?></td>
72        <td><?= $stats->commonDeathPlacesList() ?></td>
73    </tr>
74    <tr>
75        <td><?= I18N::translate('Marriage places') ?></td>
76        <td><?= I18N::translate('Events in countries') ?></td>
77    </tr>
78    <tr>
79        <td><?= $stats->commonMarriagePlacesList() ?></td>
80        <td><?= $stats->commonCountriesList() ?></td>
81    </tr>
82    <tr>
83        <td colspan="2"><?= $stats->chartDistribution() ?></td>
84    </tr>
85</table>
86