Skip to content

Commit

Permalink
Changed public labels and menu
Browse files Browse the repository at this point in the history
- For the moment, use major/minor as public descriptions
- Add links to side menu
  • Loading branch information
ajparsons committed Dec 15, 2023
1 parent f7d9ca8 commit 3031f99
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions www/includes/easyparliament/templates/html/mp/divisions.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
<?php } ?>
<h3 class="browse-content"><?= gettext('Browse content') ?></h3>
<ul>
<li><a href="#scoring">Major votes</a></li>
<li><a href="#informative">Minor votes</a></li>
<li><a href="<?= $member_url ?>/votes">Back to all topics</a></li>
</ul>
<?php include '_featured_content.php'; ?>
Expand Down Expand Up @@ -108,7 +110,8 @@
<?php } ?>

<?php if ($divisions_scoring) { ?>
<h3 class="policy-votes-list-header">Scoring votes</h3>
<a name="scoring"></a>
<h3 class="policy-votes-list-header">Major votes</h3>
<ul class="vote-descriptions policy-votes">
<?php foreach ($divisions_scoring as $division) {
include('_division_description.php');
Expand All @@ -117,7 +120,8 @@
</ul>
<?php } ?>
<?php if ($divisions_informative) { ?>
<h3 class="policy-votes-list-header">Informative votes</h3>
<a name="informative"></a>
<h3 class="policy-votes-list-header">Minor votes</h3>
<ul class="vote-descriptions policy-votes">
<?php foreach ($divisions_informative as $division) {
include('_division_description.php');
Expand Down

0 comments on commit 3031f99

Please sign in to comment.