Skip to content

Commit

Permalink
Merge pull request #1941 from tomudding/fix/active-menu-element-exten…
Browse files Browse the repository at this point in the history
…sive-bm-gmm-bodies-overview

fix: incorrect active state for active/historical menu item
  • Loading branch information
tomudding authored Dec 11, 2024
2 parents 15f2863 + 3df4943 commit e973614
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions module/Decision/view/decision/organ/index.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ $this->headTitle($this->translate('Organ list'));
<div class="row">
<div class="col-md-5 col-sm-5 col-xs-12">
<ul class="nav nav-pills">
<li role="presentation" class="<?= $historical ? 'active' : '' ?>">
<li role="presentation" class="<?= !$historical ? 'active' : '' ?>">
<a href="<?= $this->url('organs') ?>">
<?= $this->translate('Active') ?>
</a>
</li>
<li role="presentation" class="<?= !$historical ? 'active' : '' ?>">
<li role="presentation" class="<?= $historical ? 'active' : '' ?>">
<a href="<?= $this->url('organs/history') ?>">
<?= $this->translate('Abrogated') ?>
</a>
Expand Down

0 comments on commit e973614

Please sign in to comment.