Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: includes/index.tmpl

Issue 29458622: Issue 4920 - Add "Ready for Windows" section to adblockplus.org (Closed) Base URL: https://hg.adblockplus.org/web.adblockplus.org
Patch Set: Create notice class, use conditional rule Created June 19, 2017, 9:52 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: includes/index.tmpl
===================================================================
--- a/includes/index.tmpl
+++ b/includes/index.tmpl
@@ -30,17 +30,17 @@
<meta content="https://adblockplus.org/img/adblockplus_promo.png" property="og:image">
<meta content="https://adblockplus.org/" property="og:url">
<meta content="{{"Adblock Plus - Surf the web without annoying ads!"|translate("s1")}}" name="title">
<meta content="{{"<fix>Adblock Plus</fix> is the most popular ad blocker available for <fix>Firefox</fix>, <fix>Chrome</fix>, <fix>Opera</fix>, <fix>Safari</fix>, <fix>Android</fix> and <fix>Internet Explorer</fix>. Block all annoying ads all over the web: remove video ads on <fix>YouTube</fix>, block <fix>Facebook</fix> ads, get rid of pop-ups and much more. On <fix>Google Chrome</fix>, <fix>Adblock Plus</fix> is one of the fastest growing extensions ever. <fix>Adblock Plus</fix> is used on over <fix>100</fix> million devices. Download online for free now!"|translate("s2")}}" name="description">
<meta content="{{"Adblock Plus - Surf the web without annoying ads!"|translate("s1")}}" property="og:title">
<meta content="{{"<fix>Adblock Plus</fix> is the most popular ad blocker available for <fix>Firefox</fix>, <fix>Chrome</fix>, <fix>Opera</fix>, <fix>Safari</fix>, <fix>Android</fix> and <fix>Internet Explorer</fix>. Block all annoying ads all over the web: remove video ads on <fix>YouTube</fix>, block <fix>Facebook</fix> ads, get rid of pop-ups and much more. On <fix>Google Chrome</fix>, <fix>Adblock Plus</fix> is one of the fastest growing extensions ever. <fix>Adblock Plus</fix> is used on over <fix>100</fix> million devices. Download online for free now!"|translate("s2")}}" property="og:description">
</head>
-<div id="abb-banner">
+<div id="abb-banner" class="notice">
<h2>{{"Want to block ads on your smartphone or tablet?"|translate("abb-banner-headline")}}</h2>
<img src="/img/abb-promo-image.png" alt="{{"Adblock Browser promotional image"|translate("abb-promotion-alt")}}" />
<a id="abb-android-download" href="https://adblockplus.org/redirect?link=adblock_browser_android_store">{{"Download Adblock Browser"|translate("abb-banner-button-text")}}</a>
<a id="abb-ios-download" href="https://adblockplus.org/redirect?link=adblock_browser_ios_store">{{"Download Adblock Browser"|translate("abb-banner-button-text")}}</a>
</div>
<div itemscope="itemscope" itemtype="http://schema.org/SoftwareApplication">
<section id="main">
<div id="summary">
@@ -161,16 +161,23 @@
<div class="sprite" id="facts-privacy"></div>
<h1>{{"Privacy Guaranteed"|translate("s48")}}</h1>
<p>
{{"Adblock Plus will never collect your <a href=\"privacy\">personal data</a>."|translate("privacy-policy-note")}}
</p>
</section>
</div>
+
+{% if page == "internet-explorer" %}
+<p id="ready-for-windows-notice" class="notice">
+ {{"Adblock Plus for Internet Explorer is supported by eyeo GmbH on the following editions of Windows 10 – Windows 10 Pro, Windows 10 Education and Windows 10 Enterprise. Adblock Plus for Internet Explorer is supported on the in-market supported servicing branches of Windows 10 including - Current Branch, Current Branch for Business and the following Long-Term Servicing branch: Windows 10."|translate("ready-for-windows-notice")}}
+</p>
+{% endif %}
+
<hr>
<div id="footnote">
[1] {{"The following rules <strong>have</strong> and <strong>always will</strong> apply to everyone, without exception:"|translate("footnote-headline")}}
<ul>
<li>
{{"Participants cannot pay to avoid the <a href=\"acceptable-ads#criteria-general\">criteria</a>. Every ad must comply."|translate("footnote-must-comply")}}
</li>
<li>
« no previous file with comments | « includes/abb-notification.tmpl ('k') | static/css/index.css » ('j') | static/css/index.css » ('J')

Powered by Google App Engine
This is Rietveld