Allow LGA to put custom text as header.

This commit is contained in:
Kim Taylor
2024-09-30 22:17:36 +10:00
parent 910bfe85c1
commit bac9be7003

View File

@@ -12,11 +12,19 @@ if (isset($config["survey"])) {
?>
<!-- wp:paragraph -->
<?php if (isset($config['header'])): ?>
<p><?php echo $config['header']; ?></p>
<?php else: ?>
<p>The Streets People Love campaign has created scorecards for candidates in the 2024 council elections. Scorecards have been generated based on a candidate's engagement with the Streets People Love campaign, their commitment to our pledge, their responses to a survey and input from campaign members located in the local government area in which they are running.</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>Can't see a candidate you know is running? Candidates who don't take our survey won't appear on this page. Feel free to send your local candidates the <?php echo $surveyLink; ?> and let them know it's important to local residents that they do take part, so that we can vote for those who want to build the streets people love.</p>
<?php endif; ?>
<!-- /wp:paragraph -->
<?php if (isset($media["header.jpg"])): ?>