Passed
Pull Request — master (#1907)
by
unknown
05:35
created
www/includes/easyparliament/templates/html/mp/memberships.php 1 patch
Braces   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -114,7 +114,10 @@
 block discarded – undo
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>
Please login to merge, or discard this patch.
www/includes/easyparliament/templates/html/mp/_person_navigation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
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>
Please login to merge, or discard this patch.