Skip to content

Commit

Permalink
Use configured dissolution date.
Browse files Browse the repository at this point in the history
  • Loading branch information
dracos committed Apr 20, 2015
1 parent f471d50 commit f9e53a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions www/includes/easyparliament/templates/html/people_mps.php
Expand Up @@ -90,12 +90,12 @@
<?php
}

if (!count($data['data'])) {
if (!count($data['data']) && DISSOLUTION_DATE) {
# No MPs. Election period!
?>
<div class="informational left">
During the period from the dissolution of Parliament to the general election, there are no Members of Parliament.
<a href="/mps/?date=2015-03-30">View list of MPs as it was when Parliament was dissolved</a>
<a href="/mps/?date=<?=DISSOLUTION_DATE ?>">View list of MPs as it was when Parliament was dissolved</a>
</div>
<?php
}
Expand Down

0 comments on commit f9e53a4

Please sign in to comment.