diff options
| author | Greg Roach <greg@subaqua.co.uk> | 2026-05-10 22:32:15 +0100 |
|---|---|---|
| committer | Greg Roach <greg@subaqua.co.uk> | 2026-05-10 22:32:15 +0100 |
| commit | a64cc9967a255bf52811e8a74d2e30f88cb56671 (patch) | |
| tree | e6e8a2a9b916026ccfcdf8c18e749397bf881004 | |
| parent | 98cc1d27ed7e8286d048a2a906b3b1068fcbc04b (diff) | |
| download | webtrees-a64cc9967a255bf52811e8a74d2e30f88cb56671.tar.gz webtrees-a64cc9967a255bf52811e8a74d2e30f88cb56671.tar.bz2 webtrees-a64cc9967a255bf52811e8a74d2e30f88cb56671.zip | |
Timeline chart - we have 8 colours, not 6
| -rw-r--r-- | resources/views/modules/timeline-chart/chart.phtml | 4 |
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(); |
