Skip to content

Commit

Permalink
Remove conditional to display "Search tips"
Browse files Browse the repository at this point in the history
I think it should be displayed not only when a user creates and alert, but also when edits one.
  • Loading branch information
lucascumsille committed Jan 21, 2025
1 parent bdcd2c8 commit 6fb1145
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,6 @@
</div>

<div class="alert-section__secondary">
<?php if (!$pid && !$keyword) { ?>
<div class="alert-page-search-tips">
<h3><?= gettext('Search tips') ?></h3>
<p>
Expand All @@ -341,6 +340,5 @@
<li><?= sprintf(gettext('<a href="%s">Managing email alerts</a>, including how to stop or suspend them.'), 'https://www.mysociety.org/2014/09/04/how-to-manage-your-theyworkforyou-alerts/') ?></li>
<ul>
</div>
<?php } ?>
</div>
</div>

0 comments on commit 6fb1145

Please sign in to comment.