Skip to content

Commit

Permalink
Add is-premium class hook for premium header styles
Browse files Browse the repository at this point in the history
  • Loading branch information
maxxcrawford committed Aug 3, 2021
1 parent 3a6626b commit 465f8ef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion privaterelay/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
<meta name="twitter:description" content="{% ftlmsg 'meta-description' %}">
<meta name="twitter:image" content="{{request.scheme}}://{{request.META.HTTP_HOST}}{% static 'images/share-relay.jpg' %}">
</head>
<body data-fxa-settings-url="{{ settings.FXA_SETTINGS_URL }}" data-site-origin="{{ settings.SITE_ORIGIN }}" data-google-analytics-id="{{ settings.GOOGLE_ANALYTICS_ID }}" data-debug="{{ settings.DEBUG }}">

<body class="{% if user_profile.has_unlimited %}is-premium{% endif %}" data-fxa-settings-url="{{ settings.FXA_SETTINGS_URL }}" data-site-origin="{{ settings.SITE_ORIGIN }}" data-google-analytics-id="{{ settings.GOOGLE_ANALYTICS_ID }}" data-debug="{{ settings.DEBUG }}">
<firefox-private-relay-addon data-addon-installed="false"></firefox-private-relay-addon>
{% include "includes/modal.html" %}
{% include "includes/header.html" %}
Expand Down

0 comments on commit 465f8ef

Please sign in to comment.