diff --git a/bedrock/base/templates/base-article.html b/bedrock/base/templates/base-article.html index f0d838b9672..5b86ef21a5a 100644 --- a/bedrock/base/templates/base-article.html +++ b/bedrock/base/templates/base-article.html @@ -40,7 +40,7 @@ {% block site_js %} {{ super() }} - + {{ js_bundle('basic-article') }} {% endblock %} diff --git a/bedrock/base/templates/base-pebbles.html b/bedrock/base/templates/base-pebbles.html index 9f1e5970fb0..36f93c0d6c1 100644 --- a/bedrock/base/templates/base-pebbles.html +++ b/bedrock/base/templates/base-pebbles.html @@ -9,7 +9,7 @@ {{ js_bundle('site') }} - + {% block experiments %}{% endblock %} @@ -50,28 +50,30 @@ {{ l10n_css() }} - - {# Basic styles, only for IE8 and lower #} + - - {# Global styles, hidden from IE8 and lower #} + + {# Global styles, hidden from IE9 and lower #} {% block site_css %} {{ css_bundle('pebbles') }} {% endblock %} - {# Page-specific styles, hidden from IE8 and lower #} + {# Page-specific styles, hidden from IE9 and lower #} {% block page_css %}{% endblock %} {% block extrahead %} - {# Extra header stuff (scripts, styles, metadata, etc) seen by all browsers. Use the 'page_css' block for CSS you want to hide from IE7 and lower. #} + {# Extra header stuff (scripts, styles, metadata, etc) seen by all browsers. Use the 'page_css' block for CSS you want to hide from IE9 and lower. #} {% endblock %} {% block js_pretrack %}{# include JavaScript that must be run pre GA tracking here #}{% endblock %} @@ -91,29 +93,25 @@ data-global-fx-out-of-date-banner-confirm="{{ _('Update Firefox') }}" {% block string_data %}{% endblock %}> - {% block site_header %} - {% include 'includes/protocol/navigation/index.html' %} - {% endblock %} - -
- {% block content %}{% endblock %} - - {% block site_footer %} - {% include 'includes/site-footer.html' %} + {% block site_header %} + {% include 'includes/protocol/navigation/index.html' %} {% endblock %} -
- +
+ {% block content %}{% endblock %} + + {% block site_footer %} + {% include 'includes/site-footer.html' %} + {% endblock %} +
{% block site_js %} - + {{ js_bundle('common') }} - {% endblock %} @@ -124,7 +122,7 @@ {% endif %} {% endblock %} - + {% block js %}{% endblock %} {# Bug 1381776 #} diff --git a/bedrock/base/templates/base-protocol.html b/bedrock/base/templates/base-protocol.html index 432c88f51bb..20c73f8fe11 100644 --- a/bedrock/base/templates/base-protocol.html +++ b/bedrock/base/templates/base-protocol.html @@ -13,12 +13,12 @@ {% endblock %} {% block site_js %} - + {{ js_bundle('common-protocol') }} - {% endblock %} diff --git a/bedrock/base/templates/base-resp.html b/bedrock/base/templates/base-resp.html index 0ae0344a6e5..3804714fd3e 100644 --- a/bedrock/base/templates/base-resp.html +++ b/bedrock/base/templates/base-resp.html @@ -9,7 +9,7 @@ {{ js_bundle('site') }} - + {% block experiments %}{% endblock %} @@ -50,26 +50,28 @@ {{ l10n_css() }} - - {# Basic styles, only for IE8 and lower #} + - - {# Global styles, hidden from IE8 and lower #} + + {# Global styles, hidden from IE9 and lower #} {% block site_css %} {{ css_bundle('responsive') }} {% endblock %} - {# Page-specific styles, hidden from IE8 and lower #} + {# Page-specific styles, hidden from IE9 and lower #} {% block page_css %}{% endblock %} {% block extrahead %} - {# Extra header stuff (scripts, styles, metadata, etc) seen by all browsers. Use the 'page_css' block for CSS you want to hide from IE8 and lower. #} + {# Extra header stuff (scripts, styles, metadata, etc) seen by all browsers. Use the 'page_css' block for CSS you want to hide from IE9 and lower. #} {% endblock %} {% block js_pretrack %}{# include JavaScript that must be run pre GA tracking here #}{% endblock %} @@ -127,17 +129,13 @@ - - {% block site_js %} - + {{ js_bundle('common') }} - {% endblock %} @@ -148,7 +146,7 @@ {% endif %} {% endblock %} - + {% block js %}{% endblock %} {# Bug 1381776 #} diff --git a/bedrock/firefox/templates/firefox/election/index.html b/bedrock/firefox/templates/firefox/election/index.html index 8ec4a0560eb..1797759838d 100644 --- a/bedrock/firefox/templates/firefox/election/index.html +++ b/bedrock/firefox/templates/firefox/election/index.html @@ -18,17 +18,6 @@ {% block body_class %}election{% endblock %} -{% block extrahead %} - -{% endblock %} - {% block site_header %} {% include 'includes/protocol/navigation/index.html' %} {% endblock %} diff --git a/bedrock/firefox/templates/firefox/fights-for-you.de.html b/bedrock/firefox/templates/firefox/fights-for-you.de.html index d5dda065a5f..3cf336ae7a2 100644 --- a/bedrock/firefox/templates/firefox/fights-for-you.de.html +++ b/bedrock/firefox/templates/firefox/fights-for-you.de.html @@ -16,18 +16,6 @@ {{ css_bundle('fights-for-you') }} {% endblock %} -{% block extrahead %} - -{% endblock %} - {% block body_id %}fights-for-you{% endblock %} {% block content %} diff --git a/bedrock/firefox/templates/firefox/fights-for-you.fr.html b/bedrock/firefox/templates/firefox/fights-for-you.fr.html index a7d929f5df3..fcec3584751 100644 --- a/bedrock/firefox/templates/firefox/fights-for-you.fr.html +++ b/bedrock/firefox/templates/firefox/fights-for-you.fr.html @@ -16,18 +16,6 @@ {{ css_bundle('fights-for-you') }} {% endblock %} -{% block extrahead %} - -{% endblock %} - {% block body_id %}fights-for-you{% endblock %} {% block content %} diff --git a/bedrock/firefox/templates/firefox/fights-for-you.html b/bedrock/firefox/templates/firefox/fights-for-you.html index 3cbceb022d4..06f6597bddc 100644 --- a/bedrock/firefox/templates/firefox/fights-for-you.html +++ b/bedrock/firefox/templates/firefox/fights-for-you.html @@ -17,18 +17,6 @@ {{ css_bundle('fights-for-you') }} {% endblock %} -{% block extrahead %} - -{% endblock %} - {% block body_id %}fights-for-you{% endblock %} {% block content %} diff --git a/bedrock/firefox/templates/firefox/home/index.html b/bedrock/firefox/templates/firefox/home/index.html index 31b11434ca0..ef557818ae2 100644 --- a/bedrock/firefox/templates/firefox/home/index.html +++ b/bedrock/firefox/templates/firefox/home/index.html @@ -21,6 +21,12 @@ {{ css_bundle('firefox-home') }} {% endblock %} +{% block extrahead %} + + {{ css_bundle('firefox-home-ie9') }} + +{% endblock %} + {% block body_id %}firefox-home{% endblock %} {% block body_attrs %}{% if variation %}data-variant="{{ variation }}"{% endif %}{% endblock %} @@ -85,7 +91,7 @@

{{ _('Faster Page Loading') }}

-
+
{{ lazy_img(image_url='firefox/home/private-browsing.png', placeholder_url='firefox/home/spacer.gif', include_highres_image=True, optional_attributes={'alt': '', 'width': '502', 'height': '325'}) }} {{ lazy_img(image_url='firefox/home/tracking-protection.png', placeholder_url='firefox/home/spacer.gif', include_highres_image=True, optional_attributes={'alt': '', 'width': '503', 'height': '305'}) }}
@@ -112,7 +118,7 @@

{{ _('Sync you {% endif %}

-
+
{{ lazy_img(image_url='firefox/home/sync.png', placeholder_url='firefox/home/spacer.gif', include_highres_image=True, optional_attributes={'alt': _('Image of Gif shared from desktop to mobile using the Send Tab feature.'), 'width': '788', 'height': '571'}) }}
@@ -204,7 +210,7 @@

{{ _('30% lighter than Chrome') }}

{% endtrans %}

-
+
{{ lazy_img(image_url='firefox/home/less-memory.png', placeholder_url='firefox/home/spacer.gif', include_highres_image=True, optional_attributes={'alt': '', 'width': '645', 'height': '400'}) }}
@@ -226,7 +232,7 @@

{{ _('Moving bro {{ _('Learn more') }} -
+
{{ lazy_img(image_url='firefox/home/switch-to-firefox.png', placeholder_url='firefox/home/spacer.gif', include_highres_image=True, optional_attributes={'width': '643', 'height': '377'}) }} diff --git a/bedrock/mozorg/templates/mozorg/contribute/contribute-embed.html b/bedrock/mozorg/templates/mozorg/contribute/contribute-embed.html index 253d76af45e..58eedb15fb6 100644 --- a/bedrock/mozorg/templates/mozorg/contribute/contribute-embed.html +++ b/bedrock/mozorg/templates/mozorg/contribute/contribute-embed.html @@ -12,8 +12,8 @@ Mozilla — {{_('Get Involved: Volunteer Opportunities at Mozilla')}} — mozilla.org - {{ css_bundle('responsive') }} diff --git a/bedrock/mozorg/templates/mozorg/home/includes/fundraiser.html b/bedrock/mozorg/templates/mozorg/home/includes/fundraiser.html index da51d6b62d6..464a382c86e 100644 --- a/bedrock/mozorg/templates/mozorg/home/includes/fundraiser.html +++ b/bedrock/mozorg/templates/mozorg/home/includes/fundraiser.html @@ -2,7 +2,7 @@ # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. -#} -