Skip to content

Commit

Permalink
Add premium/fxa data to body class (#1014)
Browse files Browse the repository at this point in the history
* Add premium/fxa data to body class

* Moved add-on data attributes to custom element for auth-users only
  • Loading branch information
maxxcrawford authored Aug 16, 2021
1 parent 4d538d1 commit fd495b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion privaterelay/templates/profile.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
{% block content %}

{% get_social_accounts request.user as accounts %}

<firefox-private-relay-addon-data data-fxa-subscriptions-url="{{ settings.FXA_SUBSCRIPTIONS_URL }}" data-premium-prod-id="{{ settings.PREMIUM_PROD_ID }}" data-premium-price-id="{{ settings.PREMIUM_PRICE_ID }"></firefox-private-relay-addon-data>
<main id="profile-main" class=" bg-light dashboard-container " data-api-token="{{ user_profile.api_token }}">
<div class="messages-profile">
{% include "includes/messages.html" %}
Expand Down

0 comments on commit fd495b3

Please sign in to comment.