From a64cc9967a255bf52811e8a74d2e30f88cb56671 Mon Sep 17 00:00:00 2001 From: Greg Roach Date: Sun, 10 May 2026 22:32:15 +0100 Subject: Timeline chart - we have 8 colours, not 6 --- resources/views/modules/timeline-chart/chart.phtml | 4 ++-- 1 file 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 ''; - 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(); -- cgit v1.3