Skip to content

Commit

Permalink
Merge pull request #1454 from mozilla/MPP-1401-interview-recruitment
Browse files Browse the repository at this point in the history
Use country code for survey recruitment
  • Loading branch information
groovecoder committed Jan 7, 2022
2 parents 9e38591 + ea2c9bc commit b08d957
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions privaterelay/templates/includes/header.html
Expand Up @@ -4,14 +4,12 @@
{% load ftl %}
{% ftlconf bundle='privaterelay.ftl_bundles.main' %}

{% get_current_language as LANGUAGE_CODE %}

<header>
{% if settings.INCLUDE_VPN_BANNER %}
{% include "includes/vpn-promo-banner.html" %}
{% endif %}

{% if settings.RECRUITMENT_BANNER_LINK and LANGUAGE_CODE|slice:"0:2" == "en" %}
{% if settings.RECRUITMENT_BANNER_LINK and country_code == "us" %}
<div class="recruitment-banner">
<a id="recruitment-banner" class="text-link" href="{{ settings.RECRUITMENT_BANNER_LINK }}" target="_blank" rel="noopener noreferrer" data-ga="send-ga-pings" data-event-category="Recruitment" data-event-label="{{ settings.RECRUITMENT_BANNER_TEXT }}">{{ settings.RECRUITMENT_BANNER_TEXT }}</a>
</div>
Expand Down

0 comments on commit b08d957

Please sign in to comment.