summaryrefslogtreecommitdiff
path: root/resources
diff options
context:
space:
mode:
authorGreg Roach <greg@subaqua.co.uk>2026-05-10 22:32:15 +0100
committerGreg Roach <greg@subaqua.co.uk>2026-05-10 22:32:15 +0100
commita64cc9967a255bf52811e8a74d2e30f88cb56671 (patch)
treee6e8a2a9b916026ccfcdf8c18e749397bf881004 /resources
parent98cc1d27ed7e8286d048a2a906b3b1068fcbc04b (diff)
downloadwebtrees-a64cc9967a255bf52811e8a74d2e30f88cb56671.tar.gz
webtrees-a64cc9967a255bf52811e8a74d2e30f88cb56671.tar.bz2
webtrees-a64cc9967a255bf52811e8a74d2e30f88cb56671.zip
Timeline chart - we have 8 colours, not 6
Diffstat (limited to 'resources')
-rw-r--r--resources/views/modules/timeline-chart/chart.phtml4
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/views/modules/timeline-chart/chart.phtml b/resources/views/modules/timeline-chart/chart.phtml
index e742ce7920..da88ccc11a 100644
--- a/resources/views/modules/timeline-chart/chart.phtml
+++ b/resources/views/modules/timeline-chart/chart.phtml
@@ -336,8 +336,8 @@ use Fisharebest\Webtrees\Individual;
}
$col %= 8;
echo '</td><td class="person' . $col . '">';
- if (count($individuals) > 6) {
- // We only have six colours, so show names if more than this number
+ if (count($individuals) > 8) {
+ // We only have 8 colours, so show names if more than this number
echo $event->record()->fullName() . ' — ';
}
$record = $event->record();