Skip to content

Commit

Permalink
Distinguish NA from EU in WNP117 WPN attribution [#13496] (#13631)
Browse files Browse the repository at this point in the history
  • Loading branch information
craigcook authored Sep 1, 2023
1 parent 1860ee5 commit 0c2b3ff
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions bedrock/firefox/templates/firefox/whatsnew/whatsnew-fx117-vpn.html
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,16 @@
{% set vpn_signoff = "<strong>Powered by Mozilla.</strong> Putting people before profits since 1998."|safe %}
{%- endif -%}

{% if LANG in ["en-US", "en-CA"] and country_code in ["US", "CA"] %}
{% if variant == "2" %}
{% set referral_id = "whatsnew-117-na-vpn-pricing" %}
{% else %}
{% set referral_id = "whatsnew-117-na-vpn" %}
{% endif %}
{% else %}
{% set referral_id = "whatsnew-117-eu-vpn" %}
{% endif %}

{% block wnp_content %}
<section class="wnp-content-main">
<div class="mzp-l-content mzp-t-content-md">
Expand All @@ -175,7 +185,7 @@ <h2 class="wnp-main-title">{{ vpn_title }}</h2>
{% if variant == "2" %}
{{ vpn_product_referral_link(
page_anchor='#pricing',
referral_id='whatsnew-117-eu-vpn-pricing',
referral_id=referral_id,
link_text=vpn_cta,
class_name='mzp-t-product mzp-t-xl',
optional_attributes= {
Expand All @@ -186,7 +196,7 @@ <h2 class="wnp-main-title">{{ vpn_title }}</h2>
) }}
{% else %}
{{ vpn_product_referral_link(
referral_id='whatsnew-117-eu-vpn',
referral_id=referral_id,
link_text=vpn_cta,
class_name='mzp-t-product mzp-t-xl',
optional_attributes= {
Expand Down

0 comments on commit 0c2b3ff

Please sign in to comment.