Skip to content

Commit

Permalink
Remove absent rebellion rate
Browse files Browse the repository at this point in the history
If no rebellion rate we just show the name on its own
This makes that disappear.
  • Loading branch information
ajparsons committed Mar 14, 2024
1 parent 4ee8fa7 commit 72ced2c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion www/includes/easyparliament/templates/html/mp/profile.php
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,10 @@
<p>No votes to display.</p>

<?php endif; ?>


<?php if ($rebellion_rate) { ?>
<p><?= $full_name ?> <?= $rebellion_rate ?></p>
<?php } ?>

</div>
<?php endif; ?>
Expand Down

0 comments on commit 72ced2c

Please sign in to comment.