Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Bug 1112324 - updates to privacy day home promo
* Add tracking params to URLs
* Font size adjustment (smaller for non-English)
  • Loading branch information
craigcook committed Jan 22, 2015
1 parent bf0b78d commit 0777b56
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
4 changes: 2 additions & 2 deletions bedrock/mozorg/templates/mozorg/home/home-new.html
Expand Up @@ -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>
Expand All @@ -158,7 +158,7 @@ <h3>Get smart on privacy<br> in four easy steps.</h3>
{% 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>
Expand Down
9 changes: 8 additions & 1 deletion media/css/mozorg/home/home-promo.less
Expand Up @@ -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);
}
}

Expand Down

0 comments on commit 0777b56

Please sign in to comment.