From 530554e11866f8d0f37a842b326a8c33fbe29902 Mon Sep 17 00:00:00 2001 From: Matt Way Date: Wed, 21 Aug 2024 22:58:12 +1000 Subject: [PATCH] Add description on number of wards --- php-template/template.php | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/php-template/template.php b/php-template/template.php index c2762f2..8c52926 100644 --- a/php-template/template.php +++ b/php-template/template.php @@ -20,6 +20,22 @@ function sluggify($input) { + 1) { + $wardsDescription = $config['councilName'] . " is divided into " . $wardCount . " wards:"; + } else { + $wardsDescription = $config['councilName'] . " is unsubdivided and does not contain any wards."; + } + + ?> + + +

+ + $wardName): ?>