- 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)
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.
- 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.
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.
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.
- 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
* 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