Skip to content

Commit

Permalink
Remove duplicate upgrade message
Browse files Browse the repository at this point in the history
  • Loading branch information
maxxcrawford committed May 28, 2021
1 parent 3ce6398 commit 72d7afc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
11 changes: 8 additions & 3 deletions privaterelay/templates/includes/domain-alias-dashboard.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

{% load relay_tags %}
{% load ftl %}
{% ftlconf bundle='privaterelay.ftl_bundles.main' %}
{% if user_profile.has_unlimited %}
<div class="alias-list">
<div class="flx flx-row dashboard-header inset">
Expand Down Expand Up @@ -124,7 +127,9 @@ <h2 class="section-headline dashboard-headline">Manage your Domain aliases</h2>
{% endfor %}
</div>
{% else %}
<p class="banner-hl ff-Met">Go premium for more features.</p>
<p class="banner-sub">With Relay Premium, you get your own email domain.</p>
<a class="banner-link ff-Met" href="https://accounts.stage.mozaws.net/subscriptions/products/{{ settings.PREMIUM_PROD_ID }}?plan={{ settings.PREMIUM_PRICE_ID }}" target="_blank" rel="noopener noreferrer">Buy Premium</a>
<p class="banner-hl ff-Met">{% ftlmsg 'profile-promo-upgrade-headline' %}</p>
<p class="banner-sub">{% ftlmsg 'profile-promo-upgrade-copy' %}</p>
<a class="banner-link ff-Met"
href="https://accounts.stage.mozaws.net/subscriptions/products/{{ settings.PREMIUM_PROD_ID }}?plan={{ settings.PREMIUM_PRICE_ID }}"
target="_blank" rel="noopener noreferrer">{% ftlmsg 'profile-promo-upgrade-cta' %}</a>
{% endif %}
5 changes: 0 additions & 5 deletions privaterelay/templates/profile.html
Original file line number Diff line number Diff line change
Expand Up @@ -246,11 +246,6 @@ <h2 class="section-headline dashboard-headline">{% ftlmsg 'profile-headline-mana
</div> <!-- end card-->
</div> <!-- end relay-email-->
{% endfor %}
{% else %}
<p class="banner-hl ff-Met">{% ftlmsg 'profile-promo-upgrade-headline' %}</p>
<p class="banner-sub">{% ftlmsg 'profile-promo-upgrade-copy' %}</p>
<a class="banner-link ff-Met" href="https://accounts.stage.mozaws.net/subscriptions/products/{{ settings.PREMIUM_PROD_ID }}?plan={{ settings.PREMIUM_PRICE_ID }}" target="_blank" rel="noopener noreferrer">{% ftlmsg 'profile-promo-upgrade-cta' %}</a>

{% endif %}
{% endwith %}

Expand Down

0 comments on commit 72d7afc

Please sign in to comment.