summaryrefslogtreecommitdiff
path: root/resources/views/modules/statistics-chart/other.phtml
diff options
context:
space:
mode:
authorGreg Roach <greg@subaqua.co.uk>2022-03-19 10:15:27 +0000
committerGreg Roach <greg@subaqua.co.uk>2022-03-19 10:27:54 +0000
commitc908635b89a84d0a06f38a4d07640639e838703f (patch)
treedd82f42b81e2cbda254358ad4215312fabf947ea /resources/views/modules/statistics-chart/other.phtml
parentbd055353fafed0c5380d9d8c58326ea55d6ad2e4 (diff)
downloadwebtrees-c908635b89a84d0a06f38a4d07640639e838703f.tar.gz
webtrees-c908635b89a84d0a06f38a4d07640639e838703f.tar.bz2
webtrees-c908635b89a84d0a06f38a4d07640639e838703f.zip
Use placeholders to generate statistics pages
Diffstat (limited to 'resources/views/modules/statistics-chart/other.phtml')
-rw-r--r--resources/views/modules/statistics-chart/other.phtml12
1 files changed, 6 insertions, 6 deletions
diff --git a/resources/views/modules/statistics-chart/other.phtml b/resources/views/modules/statistics-chart/other.phtml
index f293d5ddab..0a1c1504da 100644
--- a/resources/views/modules/statistics-chart/other.phtml
+++ b/resources/views/modules/statistics-chart/other.phtml
@@ -11,10 +11,10 @@ use Fisharebest\Webtrees\Statistics;
?>
<div class="container pt-3">
- <?= view('statistics/other/total-records', ['stats' => $stats]) ?>
- <?= view('statistics/other/total-events', ['stats' => $stats]) ?>
- <?= view('statistics/other/chart-objects', ['stats' => $stats]) ?>
- <?= view('statistics/other/chart-sources', ['stats' => $stats]) ?>
- <?= view('statistics/other/places', ['stats' => $stats]) ?>
- <?= view('statistics/other/chart-distribution', ['stats' => $stats]) ?>
+ <?= $stats->embedTags(view('modules/statistics-chart/other-records')) ?>
+ <?= $stats->embedTags(view('modules/statistics-chart/other-events')) ?>
+ <?= $stats->embedTags(view('modules/statistics-chart/chart-objects')) ?>
+ <?= $stats->embedTags(view('modules/statistics-chart/chart-sources')) ?>
+ <?= $stats->embedTags(view('modules/statistics-chart/places')) ?>
+ <?= $stats->embedTags(view('modules/statistics-chart/chart-distribution')) ?>
</div>