Compare commits

..

3 Commits

2 changed files with 16 additions and 5 deletions

View File

@@ -982,7 +982,8 @@
"Melba", "Melba",
"Curtain", "Curtain",
"Hoddle" "Hoddle"
] ],
"footer": "Your local community group in the City of Yarra is <a href=\"https://streets-alive-yarra.org/journal/election-2024/\">Streets Alive Yarra Inc.</a>"
}, },
{ {
"shortName": "Yarra Ranges", "shortName": "Yarra Ranges",

View File

@@ -1,5 +1,9 @@
<!-- wp:paragraph --> <!-- wp:paragraph {"align":"center"} -->
<p><?php echo $config['councilName']; ?></p> <p class="has-text-align-center">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 {"align":"center"} -->
<p class="has-text-align-center">Have candidates in your local government area not yet taken part? Send your local candidates the <a href="https://forms.gle/gnDNyBiVC64tDo2Y7">Streets People Love Pledge and Survey</a> and ask them to complete it so that local residents can vote for the candidates who want to build the streets people love.</p>
<!-- /wp:paragraph --> <!-- /wp:paragraph -->
<?php if (isset($media["header.jpg"])): ?> <?php if (isset($media["header.jpg"])): ?>
@@ -34,7 +38,7 @@ if (count($wardCandidates) == 0) continue;
<!-- wp:group {"layout":{"type":"flex","orientation":"vertical","justifyContent":"center"}} --> <!-- wp:group {"layout":{"type":"flex","orientation":"vertical","justifyContent":"center"}} -->
<div class="wp-block-group"> <div class="wp-block-group">
<?php <?php
if (isset($media[$candidate['Picture']])) { if (isset($candidate['Picture']) && isset($media[$candidate['Picture']])) {
$candidate_image = $media[$candidate['Picture']]; $candidate_image = $media[$candidate['Picture']];
} else { } else {
$candidate_image = $media['default.png']; $candidate_image = $media['default.png'];
@@ -59,3 +63,9 @@ if (count($wardCandidates) == 0) continue;
</div> </div>
<!-- /wp:group --> <!-- /wp:group -->
<?php endforeach; ?> <?php endforeach; ?>
<?php if (isset($config['footer'])): ?>
<!-- wp:paragraph -->
<p><?php echo $config['footer']; ?></p>
<!-- /wp:paragraph -->
<?php endif; ?>