Skip to content

Commit

Permalink
If no rebellion rate we just show the name on it's own
Browse files Browse the repository at this point in the history
This makes that disappear.
  • Loading branch information
ajparsons committed Mar 12, 2024
1 parent 4ee8fa7 commit a82c3e8
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 a82c3e8

Please sign in to comment.