Skip to content

Commit

Permalink
Moved megaphone icon to the left side of the button
Browse files Browse the repository at this point in the history
  • Loading branch information
lucascumsille committed Jan 21, 2025
1 parent 391ff59 commit 3389545
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@
<form action="<?= $actionurl ?>" method="post">
<input type="hidden" name="mp_step" value="mp_alert">
<button type="submit" class="button small">
<?= gettext('Create new MP alert') ?>
<i aria-hidden="true" role="img" class="fi-megaphone"></i>
<?= gettext('Create new MP alert') ?>
</button>
</form>
</div>
Expand Down Expand Up @@ -155,8 +155,8 @@
<form action="<?= $actionurl ?>" method="post">
<input type="hidden" name="keyword" value="<?= _htmlentities($own_mp_criteria) ?>">
<button type="submit" class="button small" name="action" value="Subscribe">
<?= gettext('Create new alert') ?>
<i aria-hidden="true" role="img" class="fi-megaphone"></i>
<?= gettext('Create new alert') ?>
</button>
</form>
<?php } ?>
Expand Down Expand Up @@ -231,8 +231,8 @@
<form action="<?= $actionurl ?>" method="post">
<input type="hidden" name="words[]" value="<?= _htmlentities(implode('', $person_alerts[0]['spokenby'])) ?>">
<button type="submit" class="button small" name="action" value="Subscribe">
<?= gettext('Create new alert') ?>
<i aria-hidden="true" role="img" class="fi-megaphone"></i>
<?= gettext('Create new alert') ?>
</button>
</form>
<?php } ?>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@
<p>
<?php if ($pid || $keyword) { ?>
<button type="submit" class="button" name="mp_step" value="mp_confirm">
<span><?= gettext('Subscribe') ?></span>
<i aria-hidden="true" class="fi-megaphone"></i>
<span><?= gettext('Subscribe') ?></span>
</button>
<?php } else { ?>
<button type="submit" class="button" name="mp_step" value="mp_search">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@
<input type="hidden" name="step" value="confirm">
<input type="hidden" name="words[]" value="<?= _htmlentities($own_mp_criteria) ?>">
<button type="submit" class="button button--outline small" name="action" value="Subscribe">
<?= gettext('Create new alert') ?>
<i aria-hidden="true" role="img" class="fi-megaphone"></i>
<?= gettext('Create new alert') ?>
</button>
</form>
<?php } ?>
6 changes: 3 additions & 3 deletions www/includes/easyparliament/templates/html/alert/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -283,8 +283,8 @@
<form action="<?= $actionurl ?>" method="post">
<input type="hidden" name="step" value="define">
<button type="submit" class="button small" value="<?= gettext('Create new keyword alert') ?>">
<span><?= gettext('Create new keyword alert') ?></span>
<i aria-hidden="true" class="fi-megaphone"></i>
<span><?= gettext('Create new keyword alert') ?></span>
</button>
</form>

Expand All @@ -297,8 +297,8 @@
<form action="<?= $actionurl ?>" method="post">
<input type="hidden" name="mp_step" value="mp_alert">
<button type="submit" class="button small">
<?= gettext('Create new MP alert') ?>
<i aria-hidden="true" role="img" class="fi-megaphone"></i>
<?= gettext('Create new MP alert') ?>
</button>
</form>
</div>
Expand All @@ -323,8 +323,8 @@
<form action="<?= $actionurl ?>" method="post">
<input type="hidden" name="step" value="define">
<button type="submit" class="button small" value="<?= gettext('Create new keyword alert') ?>">
<span><?= gettext('Create new keyword alert') ?></span>
<i aria-hidden="true" class="fi-megaphone"></i>
<span><?= gettext('Create new keyword alert') ?></span>
</button>
</form>
</div>
Expand Down

0 comments on commit 3389545

Please sign in to comment.