diff --git a/php-template/template.php b/php-template/template.php index 0fb8c5e..500bd10 100644 --- a/php-template/template.php +++ b/php-template/template.php @@ -4,6 +4,11 @@ function sluggify($input) { return strtolower(str_replace(' ', '-', $input)); } +$surveyLink = "Streets People Love Pledge and Survey"; +if (isset($config["survey"])) { + $surveyLink = $config["survey"]; +} + ?> @@ -11,7 +16,7 @@ function sluggify($input) { -

Have candidates in your local government area not yet taken part? Send your local candidates the Streets People Love Pledge and Survey and ask them to complete it so that local residents can vote for the candidates who want to build the streets people love.

+

Have candidates in your local government area not yet taken part? Send your local candidates the and ask them to complete it so that local residents can vote for the candidates who want to build the streets people love.

@@ -180,7 +185,7 @@ function sluggify($input) { -

No candidates in this ward have completed the Streets People Love survey. Send your local candidates the Streets People Love Pledge and Survey and ask them to take part so that local residents can vote for the candidates who want to build the streets people love.

+

No candidates in this ward have completed the survey. Send your local candidates the and ask them to take part so that local residents can vote for the candidates who want to build the streets people love.