Permalink
Browse files

Bug 1112324 - updates to privacy day home promo

* Add tracking params to URLs
* Font size adjustment (smaller for non-English)
  • Loading branch information...
1 parent bf0b78d commit 0777b560076114d4f60391b65beeb73402a9f527 @craigcook craigcook committed Jan 20, 2015
Showing with 10 additions and 3 deletions.
  1. +2 −2 bedrock/mozorg/templates/mozorg/home/home-new.html
  2. +8 −1 media/css/mozorg/home/home-promo.less
@@ -148,7 +148,7 @@ <h2 class="go">{{ _('Download Firefox') }}</h2>
{% if LANG.startswith('en') and waffle.switch('mozorg-home-privacy-promo-jan28') %}
<li id="promo-6" class="item promo-large-landscape privacy-day" tabindex="0" data-name="January 28 is Data Privacy Day">
<h2 class="primary go">January 28 is Data Privacy Day</h2>
- <a class="panel-link" rel="external" href="{{ url('privacy.privacy-day') }}">
+ <a class="panel-link" rel="external" href="{{ url('privacy.privacy-day') }}?utm_source=mozorg&amp;utm_medium=tile&amp;utm_campaign=DPD15">
<div class="secondary">
<h3>Get smart on privacy<br> in four easy steps.</h3>
<p class="more">Learn how</p>
@@ -158,7 +158,7 @@ <h2 class="primary go">January 28 is Data Privacy Day</h2>
{% else %}
<li id="promo-6" class="item promo-large-landscape privacy-day" tabindex="0" data-name="Get smart on privacy">
<h2 class="primary go">{{ _('Get Smart on Privacy') }}</h2>
- <a class="panel-link" rel="external" href="{{ url('privacy.privacy-day') }}">
+ <a class="panel-link" rel="external" href="{{ url('privacy.privacy-day') }}?utm_source=mozorg&amp;utm_medium=tile&amp;utm_campaign=DPD15">
<div class="secondary">
<h3>{{ _('Learn how to give yourself more control online in four easy steps.') }}</h3>
<p class="more">{{ _('Get smart on privacy') }}</p>
@@ -778,7 +778,14 @@ html[lang|="en"] {
.background-size(100px, 100px);
h2 {
- padding: 20px 10px 10px 130px;
+ padding: 20px 10px 10px 125px;
+ .font-size(16px);
+ }
+}
+
+[lang|='en'] {
+ .promo-small-landscape.advocacy h2 {
+ .font-size(22px);
}
}

0 comments on commit 0777b56

Please sign in to comment.