Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Bug 816566 - tabzilla fundraising t-shirt promo #547

Merged
merged 3 commits into from

2 participants

Craig Cook Steven Garrity
Craig Cook
Collaborator

No description provided.

apps/tabzilla/templates/tabzilla/tabzilla.js
@@ -528,10 +528,10 @@ Tabzilla.closeSubmenu = function($item, $menu)
Tabzilla.content =
'<div id="tabzilla-contents">'
+ ' <div id="tabzilla-promo">'
- + ' <div class="snippet" id="tabzilla-promo-mobile">'
- + ' <a href="https://www.mozilla.org/firefox/fx/?WT.mc_id=tzfxmobile&amp;WT.mc_ev=click#mobile">'
- + ' <h4>{{ _('Fast. Smart. Safe.')|js_escape }}</h4>'
- + ' <p>{{ _('Get Firefox for Android')|js_escape }} »</p></a>'
+ + ' <div class="snippet" id="tabzilla-promo-donate">'
+ + ' <a href="https://donate.mozilla.org/Firefox-T-Shirt-8?WT.mc_id=tzdonate&amp;WT.mc_ev=click">'
+ + ' <h4>{{ _('Support Mozilla and Get a T-shirt to Boot!')|js_escape }}</h4>'
Steven Garrity Collaborator

This doesn't match the sentence-case capitalization used elsewhere on the site, but that may be intentional (and probably isn't a blocker).

Craig Cook Collaborator

This was the copy as provided, but you're right, official style guide says sentence case for headings. I'll fix that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Steven Garrity
Collaborator

r+

Steven Garrity
Collaborator

r+ some more!

Craig Cook craigcook merged commit 080b3cb into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
2  apps/mozorg/templates/mozorg/home.html
View
@@ -51,7 +51,7 @@
<div class="pager-page default-page" id="promo-storyvideo">
<script>// <![CDATA[
- document.getElementById('promo-ptwtshirt').id = 'page-promo-storyvideo';
+ document.getElementById('promo-storyvideo').id = 'page-promo-storyvideo';
// ]]></script>
<a href="https://donate.mozilla.org/Mozilla-Story7?WT.mc_id=mostoryvideo&amp;WT.mc_ev=click" class="container">
<img src="{{ media('img/home/promo-storyvideo.jpg') }}" alt="">
8 apps/tabzilla/templates/tabzilla/tabzilla.js
View
@@ -528,10 +528,10 @@ Tabzilla.closeSubmenu = function($item, $menu)
Tabzilla.content =
'<div id="tabzilla-contents">'
+ ' <div id="tabzilla-promo">'
- + ' <div class="snippet" id="tabzilla-promo-mobile">'
- + ' <a href="https://www.mozilla.org/firefox/fx/?WT.mc_id=tzfxmobile&amp;WT.mc_ev=click#mobile">'
- + ' <h4>{{ _('Fast. Smart. Safe.')|js_escape }}</h4>'
- + ' <p>{{ _('Get Firefox for Android')|js_escape }} »</p></a>'
+ + ' <div class="snippet" id="tabzilla-promo-donate">'
+ + ' <a href="https://donate.mozilla.org/Firefox-T-Shirt-8?WT.mc_id=tzdonate&amp;WT.mc_ev=click">'
+ + ' <h4>{{ _('Support Mozilla and get a t-shirt to boot!')|js_escape }}</h4>'
+ + ' <p>{{ _('Donate now')|js_escape }} »</p></a>'
+ ' </div>'
+ ' </div>'
+ ' <div id="tabzilla-nav">'
18 media/css/tabzilla.less
View
@@ -353,6 +353,24 @@
width: 100px;
}
+#tabzilla-promo .snippet#tabzilla-promo-donate a {
+ background-image: url('../img/tabzilla/promo-donate.jpg');
+ background-position: 0 0;
+ background-color: #0095dd;
+ color: #fff;
+ padding: 20px 10px 0 182px;
+ height: 190px;
+}
+
+#tabzilla-promo .snippet#tabzilla-promo-donate h4 {
+ font-size: 24px;
+ color: #fff;
+ font-weight: normal;
+ font-family: 'Open Sans Light', sans-serif;
+ text-transform: none;
+ text-shadow: none;
+}
+
@media only screen and (min-width: 720px) and (max-width: 979px) {
#tabzilla-contents {
BIN  media/img/tabzilla/promo-donate.jpg
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Something went wrong with that request. Please try again.