@@ -114,7 +114,10 @@ |
||
114 | 114 | <ul> |
115 | 115 | <li><span class="appg-property-label">Purpose:</span> <?= $membership->appg->purpose ?></li> |
116 | 116 | <li><span class="appg-property-label">Membership Source:</span> <a href="<?= $membership->membership_source_url ?>">Source</a></li> |
117 | - <li><span class="appg-property-label">APPG Website:</span> <?php if ($membership->appg->website): ?><a href="<?= $membership->appg->website ?>"><?= $membership->appg->website ?></a><?php else: ?>N/A<?php endif; ?></li> |
|
117 | + <li><span class="appg-property-label">APPG Website:</span> <?php if ($membership->appg->website): ?><a href="<?= $membership->appg->website ?>"><?= $membership->appg->website ?></a><?php else { |
|
118 | + : ?>N/A<?php endif; |
|
119 | +} |
|
120 | +?></li> |
|
118 | 121 | <li><span class="appg-property-label">APPG register:</span> <a href="<?= $membership->appg->source_url ?>">Parliament website</a></li> |
119 | 122 | </ul> |
120 | 123 | </div> |
@@ -22,7 +22,7 @@ |
||
22 | 22 | <nav class="subpage-content-list js-accordion" aria-label="Comparison periods"> |
23 | 23 | <h3 class="js-accordion-button">Comparison periods</h3> |
24 | 24 | <ul class="js-accordion-content"> |
25 | - <?php foreach($available_periods as $period) { ?> |
|
25 | + <?php foreach ($available_periods as $period) { ?> |
|
26 | 26 | <li><a href="?comparison_period=<?= $period->lslug() ?>" class="<?= $period->lslug() === $comparison_period->lslug() ? 'active-comparison-period' : '' ?>"><?= $period->description ?></a></li> |
27 | 27 | <?php } ?> |
28 | 28 | </ul> |