Update text.
This commit is contained in:
@@ -1,41 +1,25 @@
|
||||
<?php
|
||||
|
||||
function sluggify($input) {
|
||||
return strtolower(str_replace(' ', '-', $input));
|
||||
}
|
||||
|
||||
$surveyLink = "<a href=\"https://forms.gle/gnDNyBiVC64tDo2Y7\">Streets People Love Pledge and Survey</a>";
|
||||
|
||||
?>
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<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>
|
||||
<p>The Streets People Love campaign offers council candidates the opportunity to take the following pledge:</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>
|
||||
<p>If elected Councillor, I pledge to allocate budget and street space to build streets people love, and ensure that residents of all ages and abilities can safely move around our council area, irrespective of whether they choose to walk, cycle, wheel, use public transport or drive.</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<?php if (isset($media["header.jpg"])): ?>
|
||||
<!-- wp:image {"id":<?php echo $media["header.jpg"]['id']; ?>,"aspectRatio":"16/9","scale":"cover","sizeSlug":"full","linkDestination":"none"} -->
|
||||
<figure class="wp-block-image size-full"><img src="<?php echo $media["header.jpg"]['url']; ?>" alt="" class="wp-image-<?php echo $media["header.jpg"]['id']; ?>" style="aspect-ratio:16/9;object-fit:cover"/></figure>
|
||||
<!-- /wp:image -->
|
||||
<?php endif ?>
|
||||
<!-- wp:paragraph -->
|
||||
<p>Candidates from these councils have taken the pledge:</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<?php
|
||||
|
||||
$councilCount = count($councils);
|
||||
|
||||
if ($councilCount > 1) {
|
||||
$wardsDescription = "Candidates from " . $councilCount . " wards have taken the pledge:";
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p><?php echo $wardsDescription; ?></p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<?php if ($councilCount > 1): ?>
|
||||
|
||||
<?php
|
||||
@@ -93,7 +77,6 @@ $surveyLink = "<a href=\"https://forms.gle/gnDNyBiVC64tDo2Y7\">Streets People Lo
|
||||
return $candidate['Council'] === $council;
|
||||
});
|
||||
|
||||
if (count($groupCandidates) > 0):
|
||||
?>
|
||||
|
||||
<?php
|
||||
@@ -141,14 +124,6 @@ $surveyLink = "<a href=\"https://forms.gle/gnDNyBiVC64tDo2Y7\">Streets People Lo
|
||||
<!-- /wp:columns -->
|
||||
<?php endforeach; ?>
|
||||
|
||||
<?php else: ?>
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p>No candidates in this ward have completed the survey. Send your local candidates the <?php echo $surveyLink; ?> and ask them to take part so that local residents can vote for the candidates who want to build the streets people love.</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<?php endforeach; ?>
|
||||
|
||||
<?php if (isset($config['footer'])): ?>
|
||||
|
||||
Reference in New Issue
Block a user