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

3 Коммитов

Автор SHA1 Сообщение Дата
Nizar Khalife Iglesias 69bd88ba95 Bug 764015: Update Download Tab copy
Also adjust styles for copy changes and center features list.
2013-04-26 10:50:42 -04:00
Nizar Khalife Iglesias ccda8cc1d7 Bug 835506: Fix Download Tab empty CSS.
Import of `h5bp_main.less` was breaking staging's LESS compiler (version 1.3.0), resulting in an empty compiled CSS file. Now including that file with jingo-minify instead of a LESS `@import` so that LESS files are compiled successfully.
2013-03-29 12:33:01 -04: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