Граф коммитов

176 Коммитов

Автор SHA1 Сообщение Дата
Jon Petto 6db7669501 Firefox /firstrun A/B tests. Bug 865433.
- Abstracted simple footer from /firefox/new/

- Added L10n strings block to templates/base.html

- Fixed L10n comment case typo on /firefox/partners/index.html

- First crack at general modal JS (media/js/mozilla-modal.js)
2013-05-13 14:36:20 -05:00
ossreleasefeed 3f5428351c Fix Bug 820212. Update design and content to latest 2013-05-08 22:24:12 +02:00
Isac Lagerblad 24ed117633 Bug 867090 adds a matchMedia polyfill for IE9 2013-04-30 15:37:45 +02:00
ossreleasefeed 226c34b9ef Bug 820212: Implement Firefox OS privacy policy for display on device. 2013-04-25 00:55:29 -04:00
Isac Lagerblad 8baa5aaf81 Move the insertion of tabzilla JS after jQuery. 2013-04-04 21:41:59 +02:00
Steven Garrity 7b8ea75645 Bug 852708 - Remove Webtrends 2013-04-02 13:29:16 -03:00
Nizar Khalife Iglesias 21c571d404 Add "Download Firefox" Facebook tab
Adds "Download Firefox" Facebook tab under /facebook/downloadtab/ URL. The tab revolves around a download button (using the new download_firefox function) but also has Facebook social integration after the download in the form of timeline shares and app invites. The third screen has cross promos for Affiliates and Facebook messenger for Firefox. There's a slightly tweaked layout of the Download Tab available under /facebook/downloadtab/noscroll/ with fixed 800px height so that the Facebook tab iframe doesn't show a vertical scrollbar.

The Download Tab requires two local settings for its Facebook integration: FACEBOOK_PAGE_NAMESPACE, the username/namespace of the Facebook page in which the tab is to be installed, and FACEBOOK_APP_ID, the app ID for the Download Tab Facebook app.

Other additions include support for decorators in mozorg.utils.page, adding a bare template for URLs like this one that aren't part of the main mozilla.org site, server-side redirects for the top frame via small JavaScript template and other Facebook-related utilities.

Fixes bug 835506.
2013-03-28 14:58:07 -04:00
Steven Garrity e8b41bcb60 Remove sand.html and mozorg/base.html templates
They were just adding CSS class to the body, not worth a whole template
The /apps/privacy/ pages aren't exposed in production yet
2013-03-08 10:57:32 -04:00
Steven Garrity 8cf15a6426 Remove MWC cookie badge (Bug 846950) 2013-03-07 15:46:43 -04:00
Paul McLanahan cbd4c6d853 Bug 820937: Add download_firefox helper and greatly simplified button template.
Bug 795976: Add support for no-js, unrecognized platform, and unsupported platform.
Replace download buttons across the site.
2013-03-06 15:59:55 -05:00
Steven Garrity 73f82a5de5 Bug 817742 - Responsify mozilla.org/persona pages 2013-03-06 11:35:37 -04:00
Paul McLanahan b4e078afa9 Bug 844885: Allow locale detection in MCW badge on mozilla.org pages.
Include base.html in the fix from
14c0e9a227
2013-02-25 12:48:29 -05:00
pascalc 14c0e9a227 Bug 844885 - Allow locale detection in MWC badge on mozilla.org pages 2013-02-25 17:53:32 +01:00
Craig Cook 1bc95a6e0b Fix bug 833468 - trailing slash for MWC badge URL 2013-02-24 15:59:34 -08:00
Paul McLanahan a6765a742e Update tabzilla for cache-bust. 2013-02-24 13:07:22 -05:00
Steven Garrity 4465d420ac Bug 828674: Add MWC 2013 updates.
Fix bug 840650, 840960, 842285, 842761, 843358
Fix bug 843687, 828671, 829011, 832523, 833468
Fix bug 833871, 839678, 841231, 843323, 843354
Fix bug 843648, 843678, 843692, 843716

Thanks to contributions from:

@sgarrity
@jpetto
@craigcook
@pmclanahan
@Sancus
2013-02-24 11:07:19 -05:00
Steven Garrity dd1bf62e68 Fix urlencoding in share links (Bug 796049) 2013-01-30 14:59:58 -04:00
Michael Kelly 38a88303b4 Bug 829091 - MWC 2013 Phase 1 landing page 2013-01-17 18:42:57 -05:00
Steven Garrity 0eb9ed6426 Merge branch 'bug-829628-responsive-errors' 2013-01-17 09:55:33 -04:00
Steven Garrity a21fcca31a Responsive layout for 404/500 pages (Bug 829628) 2013-01-17 09:53:04 -04:00
Paul McLanahan b232944c9c Bug 821016: Update new-b page JS virtual URL for more info.
* increase download URL timeout to catch more conversions.
* update ga snippet to use debug ga.js if TEMPLATE_DEBUG is True.

Fix bug 830083.
2013-01-14 11:17:07 -05:00
Paul McLanahan e6654a23be Bug 826937: Change references to /media/ to use MEDIA_URL setting.
Also fix image 404 on fx/geolocation page.
2013-01-04 22:19:35 -05:00
Jon Petto a3f5da8c26 Bug 814203: Add /firefox/new-b page and A/B test for it.
- Adds the /firefox/new-b page.
- Adds the ga_experiments block to the base template for A/B tests.
- Adds an A/B test to /firefox/new that selects between the old
  /firefox/new page and /firefox/new-b.
- Bug 822443: Removes the _setDomainName call from the GA code.
2012-12-20 10:55:34 -05:00
Michael Kelly 5b66838764 Bug 744271: Do not use new tabzilla URLs in base template.
If we use the new tabzilla URLs in the base template, the JS will fail
to load without a /b/ redirect, but we want this out in production
before putting out that redirect. So we'll stick to the old URL, which
will work before and after the switch.
2012-12-14 10:11:09 -05:00
Paul McLanahan 7ec8f345e1 Bug 821384: Set WT sample rate to 50. 2012-12-13 13:49:21 -05:00
Anthony Ricaud 641ead0734 Import Tabzilla into Bedrock
- Make it localisable
- Add redirects for backwards compatibility
- Adds a js_escape filter

bug 744271
2012-12-11 16:03:05 +01:00
Paul McLanahan 007071bbe0 Bug 818195: Fix google analytics variables. 2012-12-07 17:30:49 -05:00
Michael Kelly 273ee53b7c Bug 818195: Add in-page analysis configuration to Google Analytics. 2012-12-06 18:24:50 -05:00
Michael Kelly 2cd416fb79 Bug 818195: Add Google Analytics tracking code to base templates. 2012-12-06 15:21:20 -05:00
pascalc 308600b4ed Bug 816531: fix a form string wrong on all pages for locales 2012-11-29 17:24:20 +01:00
Gervase Markham 0cc8e6cd35 Update license to MPL 2. 2012-11-28 18:26:46 +01:00
ossreleasefeed 15f3da10c0 ready changes to launch landing page for new privacy hub fixes bug 809079 2012-11-13 20:11:29 +01:00
Paul McLanahan 294152a38b Bug 799283: Enable newsletter form for all locales.
Add country and language fields to form.
Convert form to macro.
Add source_url to submission.
Make country and language fields optional.
Add country to apps form. Ensure empty values aren't sent to basket.
Fix bug 799283.
2012-11-13 11:23:25 -05:00
Steven Garrity f169584bd7 Don't include box2d JS for IE8 and below (Bug 803367) 2012-10-24 18:10:00 +02:00
Steven Garrity dd5cc98415 new favicon (Bug 702538) 2012-10-03 16:49:39 -03:00
icaaq 0db078d324 Removed role="menubar/menuitemmenu" from the templates
added has-submenus to #nav-main-menu where submenus is used
2012-09-27 13:28:43 +02:00
Michael Kelly 9ae0bfe9ae Merge remote-tracking branch 'refs/remotes/craigcook/about-mission' 2012-09-07 18:58:29 -04:00
Michael Kelly 767d51c21d Merge branch 'refs/heads/style-guide' 2012-09-07 17:03:57 -04:00
Craig Cook 5bca5a50f5 About page 2012-09-06 17:54:15 -07:00
Anthony Ricaud cc1b7c32f3 Put latest Firefox data in the HTML to query it from JS
fix bug 786874
2012-08-31 18:48:35 +02:00
Steven Garrity a408f06ead Forms page for styleguide and update forms styles throughout 2012-08-30 14:39:09 -03:00
Jon Petto c1cdc576c2 added WebTrends handler to newsletter form in base responsive template 2012-08-29 18:06:27 +02:00
pascalc cb1cb0bf49 Remove newsletter form for non 'en'-locales
We'll re-enable it when the functionality will be ported to Bedrock

fix bug 783268
2012-08-17 15:24:03 +02:00
Jon Petto b783fa3534 Add webtrends tracking code to sign up form
fix bug 760714
2012-08-16 14:40:35 +02:00
Anthony Ricaud fcdc18b7c6 Bug 775406 - Validate the newsletter id
newsletter becomes a FormField
2012-08-01 23:15:27 +02:00
Anthony Ricaud ede8656d3e Bug 775406 - Enable newsletter signup on pages with default email block
- Move the newsletter subscription logic in a middleware
- Change the templates to use the variables available on request
- A few tests
- Some import, PEP8 cleanups
- Removed unused NoVarySessionMiddleware
2012-08-01 17:29:19 +02:00
Steven Garrity 19bc1bff6a Merge remote branch 'craigcook/bug-773787-footer-consolidation'
Conflicts:
	media/css/sandstone/sandstone-resp.less
2012-07-31 09:45:42 -03:00
Steven Garrity 2b9548a76f Merge pull request #284 from craigcook/responsify-mozorg
Responsify mozorg pages
2012-07-24 10:57:06 -07:00
Craig Cook 8a5bab80d1 Bug 773787 - consolidate footer markup 2012-07-16 16:25:57 -07:00
Craig Cook 1f2d0e905d Mobile layout fixes, menu fixes
* width:auto for mobile
* narrowed contribute newsletter form fields
* removed inline script from base template (should have been removed weeks ago, sorry I missed that)
* hooked base template to our new mobile menu script
2012-07-10 11:26:58 -07:00