Skip to content

Commit

Permalink
Fix mozilla#15737: Firefox newsletter form only subs to Firefox News (m…
Browse files Browse the repository at this point in the history
  • Loading branch information
pmac authored Dec 17, 2024
1 parent 02cf963 commit b522cdd
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions bedrock/newsletter/templates/newsletter/firefox.html
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,17 @@ <h1 class="page-title">{{ page_title_copy }}</h1>
<div class="section-newsletter-form mzp-l-content mzp-t-content-sm">
{% if ftl_has_messages('multi-newsletter-form-title', 'multi-newsletter-form-desc', 'multi-newsletter-form-checkboxes-legend') %}
{{ email_newsletter_form(
newsletters='mozilla-foundation, mozilla-and-you',
newsletters='mozilla-and-you',
include_title=False,
button_class='button-dark'
)}}
{% else %}
{{ email_newsletter_form(include_title=False, spinner_color='#3a304b', button_class='mzp-t-product mzp-t-lg') }}
{{ email_newsletter_form(
newsletters='mozilla-and-you',
include_title=False,
spinner_color='#3a304b',
button_class='mzp-t-product mzp-t-lg'
)}}
{% endif %}
</div>
</section>
Expand Down

0 comments on commit b522cdd

Please sign in to comment.