-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
179 additions
and
179 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 10 additions & 10 deletions
20
www/includes/easyparliament/templates/html/mp/_person_navigation.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
<div class="person-navigation"> | ||
<ul> | ||
<li <?php if ($pagetype == ""): ?>class="active"<?php endif; ?>><a href="<?= $member_url ?>"><?= gettext('Overview') ?></a></li> | ||
<?php if ($this_page == "mp"): ?> | ||
<li <?php if ($pagetype == "votes"): ?>class="active"<?php endif; ?>><a href="<?= $member_url ?>/votes"><?= gettext('Voting Summary') ?></a></li> | ||
<?php endif; ?> | ||
<?php if (in_array($this_page, ["mp", "msp", "ms"])): ?> | ||
<li <?php if ($pagetype == "recent"): ?>class="active"<?php endif; ?>><a href="<?= $member_url ?>/recent"><?= gettext('Recent Votes') ?></a></li> | ||
<?php if ($register_interests): ?> | ||
<li <?php if ($pagetype == "register"): ?>class="active"<?php endif; ?>><a href="<?= $member_url ?>/register"><?= gettext('Register of Interests') ?></a></li> | ||
<?php endif; ?> | ||
<?php endif; ?> | ||
<li <?php if ($pagetype == "") { ?>class="active"<?php } ?>><a href="<?= $member_url ?>"><?= gettext('Overview') ?></a></li> | ||
<?php if ($this_page == "mp") { ?> | ||
<li <?php if ($pagetype == "votes") { ?>class="active"<?php } ?>><a href="<?= $member_url ?>/votes"><?= gettext('Voting Summary') ?></a></li> | ||
<?php } ?> | ||
<?php if (in_array($this_page, ["mp", "msp", "ms"])) { ?> | ||
<li <?php if ($pagetype == "recent") { ?>class="active"<?php } ?>><a href="<?= $member_url ?>/recent"><?= gettext('Recent Votes') ?></a></li> | ||
<?php if ($register_interests) { ?> | ||
<li <?php if ($pagetype == "register") { ?>class="active"<?php } ?>><a href="<?= $member_url ?>/register"><?= gettext('Register of Interests') ?></a></li> | ||
<?php } ?> | ||
<?php } ?> | ||
</ul> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.