From 1d3c0c1a8e4f33141415514ed6a8ce5358a1f9ce Mon Sep 17 00:00:00 2001 From: Greg Roach Date: Sat, 30 Sep 2017 20:03:15 +0100 Subject: Use template for statistics block --- resources/views/blocks/family-tree-statistics.php | 246 ++++++++++++++++++++++ 1 file changed, 246 insertions(+) create mode 100644 resources/views/blocks/family-tree-statistics.php (limited to 'resources') diff --git a/resources/views/blocks/family-tree-statistics.php b/resources/views/blocks/family-tree-statistics.php new file mode 100644 index 0000000000..30e7a12e0a --- /dev/null +++ b/resources/views/blocks/family-tree-statistics.php @@ -0,0 +1,246 @@ + + + +

+ gedcomUpdated())) ?> +

+ + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + totalIndividuals() ?> +
+ + + totalSexMales() ?> +
+ totalSexMalesPercentage() ?> +
+ + + totalSexFemales() ?> +
+ totalSexFemalesPercentage() ?> +
+ + + totalSurnames() ?> +
+ + + totalFamilies() ?> +
+ + + totalSources() ?> +
+ + + totalMedia() ?> +
+ + + totalRepositories() ?> +
+ + + totalEvents() ?> +
+ + + totalUsers() ?> +
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + firstBirth() ?> +
+ + + lastBirth() ?> +
+ + + firstDeath() ?> +
+ + + lastDeath() ?> +
+ + + longestLife() ?> +
+ + + averageLifespan() ?> +
+ averageLifespanMale() ?> +
+  averageLifespanFemale() ?> +
+ + + largestFamilySize(), I18N::number($stats->largestFamilySize())) ?> +
+ largestFamily() ?> +
+ + + averageChildren() ?> +
+
+
+ + +
+

+ + + +
+ + + +

+
+ -- cgit v1.3