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

Side by Side Diff: includes/index.tmpl

Issue 29716660: Fixes #5 - Update home page hero unit (Closed) Base URL: https://hg.adblockplus.org/web.adblockplus.org
Patch Set: Created March 7, 2018, 8:01 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « includes/hero-download.html ('k') | includes/mobile-cross-promotion.tmpl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 title=Adblock Plus - Surf the web without annoying ads!
2 noheading=True
3 localefile=index
4
5 {#
6 # This file is part of the Adblock Plus website,
7 # Copyright (C) 2006-present eyeo GmbH
8 #
9 # Adblock Plus is free software: you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License version 3 as
11 # published by the Free Software Foundation.
12 #
13 # Adblock Plus is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
17 #
18 # You should have received a copy of the GNU General Public License
19 # along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>.
20 #}
21
22 {% set media_coverage = [
23 {
24 "publisher": "Media Post",
25 "link": "http://www.mediapost.com/publications/article/289691/adblock-plus-c omes-to-new-york.html",
26 "link_title": "Media Post article about Adblock Plus",
27 "image": "mediapost",
28 "image_alt": "Media Post logo"
29 },
30 {
31 "publisher": "NY Times",
32 "link": "https://www.nytimes.com/2015/08/20/technology/personaltech/ad-block ers-and-the-nuisance-at-the-heart-of-the-modern-web.html",
33 "link_title": "New York Times article about Adblock Plus",
34 "image": "nyt",
35 "image_alt": "New York Times logo"
36 },
37 {
38 "publisher": "Wall St. Journal",
39 "link": "https://www.wsj.com/articles/adblock-plus-chief-till-faida-says-con sumers-are-fed-up-with-current-online-ads-1462981668",
40 "link_title": "Wall St. Journal article about Adblock Plus",
41 "image": "wsj",
42 "image_alt": "Wall St. Journal logo"
43 },
44 {
45 "publisher": "TechCrunch",
46 "link": "https://techcrunch.com/2016/05/09/adblock-plus-closes-in-on-a-billi on-downloads/",
47 "link_title": "Tech Crunch article about Adblock Plus",
48 "image": "techcrunch",
49 "image_alt": "Tech Crunch logo"
50 },
51 {
52 "publisher": "BusinessInsider",
53 "link": "http://www.businessinsider.com/theres-nothing-wrong-about-the-way-a dblock-plus-makes-money-2015-9",
54 "link_title": "Business Insider article about Adblock Plus",
55 "image": "business-insider",
56 "image_alt": "Business Insider logo"
57 }
58 ] %}
59
60 <head>
61 <link href="/css/index.css" rel="stylesheet">
62 <link href="/css/index-desktop.css" media="(min-width: 1000px)" rel="stylesheet" >
63 <link href="/css/index-mobile.css" media="(max-width: 1000px)" rel="stylesheet">
64
65 <link href="https://adblockplus.org/" rel="canonical">
66 <link href="https://chrome.google.com/webstore/detail/cfhdojbkjhnklbpkdaibdccddi lifddb" rel="chrome-webstore-item">
67 <meta content="website" property="og:type">
68 <meta content="https://adblockplus.org/img/adblockplus_promo.png" property="og:i mage">
69 <meta content="{{"<fix>Adblock Plus</fix> is the most popular ad blocker availab le 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 a ll over the web: remove video ads on <fix>YouTube</fix>, block <fix>Facebook</fi x> ads, get rid of pop-ups and much more. On <fix>Google Chrome</fix>, <fix>Adbl ock 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 n ow!"|translate("s2")}}" name="description">
70 <meta content="{{"<fix>Adblock Plus</fix> is the most popular ad blocker availab le 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 a ll over the web: remove video ads on <fix>YouTube</fix>, block <fix>Facebook</fi x> ads, get rid of pop-ups and much more. On <fix>Google Chrome</fix>, <fix>Adbl ock 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 n ow!"|translate("s2")}}" property="og:description">
71 </head>
72
73 <div id="abb-banner" class="notice">
74 <h2>{{"Want to block ads on your smartphone or tablet?"|translate("abb-banner- headline")}}</h2>
75 <img src="/img/abb-promo-image.png" alt="{{"Adblock Browser promotional image" |translate("abb-promotion-alt")}}" />
76 <a id="abb-android-download" href="https://adblockplus.org/redirect?link=adblo ck_browser_android_store">{{"Download Adblock Browser"|translate("abb-banner-but ton-text")}}</a>
77 <a id="abb-ios-download" href="https://adblockplus.org/redirect?link=adblock_b rowser_ios_store">{{"Download Adblock Browser"|translate("abb-banner-button-text ")}}</a>
78 </div>
79 <div itemscope="itemscope" itemtype="http://schema.org/SoftwareApplication">
80 <section id="main">
81 <div id="summary">
82 <h1 itemprop="name">{{"Adblock Plus"|translate("s5")}}</h1>
83 <h2 itemprop="description">{{"Surf the web without annoying ads!"|translat e("s6")}}</h2>
84
85 <ul id="features">
86 <li itemprop="featureList">
87 <div class="sprite"></div>
88 {{"Blocks banners, pop-ups, tracking, malware and more"|translate("blo cking-features")}}
89 </li>
90 <li itemprop="featureList">
91 <div class="sprite"></div>
92 {{"By default, nonintrusive ads aren't blocked in order to support web sites <a href=\"acceptable-ads\">(learn more)</a>"|translate("opt-out-acceptable -ads")}} <sup><a href="#footnote">[1]</a></sup>
93 </li>
94 <li class="emphasized" id="feature-free" itemprop="featureList">
95 <div class="sprite"></div>
96 {{"It's free for users and open source (<a href=\"https://www.gnu.org/ licenses/gpl.html\">GPLv3</a>)"|translate("gplv3-license")}}
97 </li>
98 <li id="feature-maxthon" itemprop="featureList">
99 <div class="sprite"></div>
100 {{"Integrated by default in"|translate("s11")}} <a href="http://www.ma xthon.com/" target="_blank">{{"Maxthon Cloud Browser"|translate("s12")}}</a>
101 </li>
102 </ul>
103 </div>
104
105 <p id="terms-message">
106 {{ "By clicking the Agree and Install button below, you agree to our <a hr ef=\"terms\">Terms of Use</a>." | translate("terms-message", "Terms of use messa ge") }}
107 </p>
108
109 <div id="install">
110 <a class="install-button" href="https://update.adblockplus.org/latest/adbl ockplusfirefox.xpi" id="install-firefox">{{"Agree and Install for Firefox"|trans late("s13")}}</a>
111 <a class="install-button" href="https://chrome.google.com/webstore/detail/ cfhdojbkjhnklbpkdaibdccddilifddb" id="install-chrome" onclick="chrome.webstore.i nstall(); return false;">{{"Agree and Install for Chrome"|translate("s14")}}</a>
112 <a class="install-button" href="https://addons.opera.com/extensions/detail s/opera-adblock/?display=en-US" id="install-opera">{{"Agree and Install for Oper a"|translate("s15")}}</a>
113 <a class="install-button" href="android-install" id="install-android">{{"A gree and Install for Android"|translate("s16")}}</a>
114 <a class="install-button" href="https://update.adblockplus.org/latest/adbl ockplusie.exe" id="install-internet-explorer">{{"Agree and Install for Internet Explorer"|translate("s17")}}</a>
115 <a class="install-button" href="https://update.adblockplus.org/latest/adbl ockplussafari.safariextz" id="install-safari">{{"Agree and Install for Safari"|t ranslate("s18")}}</a>
116 <a class="install-button" href="https://chrome.google.com/webstore/detail/ cfhdojbkjhnklbpkdaibdccddilifddb" id="install-yandex-browser" onclick="chrome.we bstore.install(); return false;">{{"Agree and Install for Yandex Browser"|transl ate("s19")}}</a>
117 <a class="install-button" href="https://www.microsoft.com/store/p/adblock- plus/9nblggh4r9nz" id="install-edge">{{"Agree and Install for Microsoft Edge"|tr anslate("install-edge")}}</a>
118 </div>
119
120 <div id="other-platform">
121 <div>{{"Download Adblock Plus for another platform"|translate("other-pla tform")}}</div>
122 <ul>
123 <li>
124 <a class="sprite" href="firefox" id="platform-firefox" title="{{"Adb lock Plus for Firefox"|translate("s20")}}"></a>
125 </li>
126 <li>
127 <a class="sprite" href="chrome" id="platform-chrome" title="{{"Adblo ck Plus for Chrome"|translate("s21")}}"></a>
128 </li>
129 <li>
130 <a class="sprite" href="android" id="platform-android" title="{{"Adb lock Plus for Android"|translate("s22")}}"></a>
131 </li>
132 <li>
133 <a class="sprite" href="opera" id="platform-opera" title="{{"Adblock Plus for Opera"|translate("s23")}}"></a>
134 </li>
135 <li>
136 <a class="sprite" href="internet-explorer" id="platform-internet-exp lorer" title="{{"Adblock Plus for Internet Explorer"|translate("s24")}}"></a>
137 </li>
138 <li>
139 <a class="sprite" href="safari" id="platform-safari" title="{{"Adblo ck Plus for Safari"|translate("s25")}}"></a>
140 </li>
141 <li>
142 <a class="sprite" href="yandex-browser" id="platform-yandex-browser" title="{{"Adblock Plus for Yandex Browser"|translate("s26")}}"></a>
143 </li>
144 <li>
145 <a class="sprite" href="maxthon" id="platform-maxthon" title="{{"Adb lock Plus for Maxthon"|translate("s27")}}"></a>
146 </li>
147 <li>
148 <a class="sprite" href="edge" id="platform-edge" title="{{"Adblock P lus for Microsoft Edge"|translate("abp-microsoft-edge")}}"></a>
149 </li>
150 </ul>
151 </div>
152 </section>
153
154 <div id="messages-wrapper">
155 <? include fr-download-disclaimer ?>
156 <div id="maxthon-notification">
157 使用傲游云浏览器,享受最好的广告过滤体验. (内置Adblock Plus) <a href="http://www.maxthon.cn" tar get="_blank">下载傲游云浏览器</a>
158 </div>
159 <div class="warning-platform firefox">{{"It appears that you are using Mozil la Firefox."|translate("s28")}} <a href="firefox">{{"Switch to Adblock Plus for Firefox."|translate("s29")}}</a></div>
160 <div class="warning-platform chrome">{{"It appears that you are using Google Chrome."|translate("s30")}} <a href="chrome">{{"Switch to Adblock Plus for Chro me."|translate("s31")}}</a></div>
161 <div class="warning-platform android">{{"It appears that you are using Andro id."|translate("s32")}} <a href="android">{{"Switch to Adblock Plus for Android. "|translate("s33")}}</a></div>
162 <div class="warning-platform opera">{{"It appears that you are using Opera." |translate("s34")}} <a href="opera">{{"Switch to Adblock Plus for Opera."|transl ate("s35")}}</a></div>
163 <div class="warning-platform internet-explorer">{{"It appears that you are u sing Internet Explorer."|translate("s36")}} <a href="internet-explorer">{{"Switc h to Adblock Plus for Internet Explorer."|translate("s37")}}</a></div>
164 <div class="warning-platform safari">{{"It appears that you are using Safari ."|translate("s38")}} <a href="safari">{{"Switch to Adblock Plus for Safari."|tr anslate("s39")}}</a></div>
165 <div class="warning-platform yandex-browser">{{"It appears that you are usin g Yandex Browser."|translate("s40")}} <a href="yandex-browser">{{"Switch to Adbl ock Plus for Yandex Browser."|translate("s41")}}</a></div>
166 <div class="warning-platform maxthon">{{"It appears that you are using Maxth on."|translate("s42")}} <a href="maxthon">{{"Switch to Adblock Plus for Maxthon. "|translate("s43")}}</a></div>
167 </div>
168
169 <div id="video-container">
170 <a id="video" target="_blank" href="https://www.youtube-nocookie.com/embed/p VYtzF5SemU?html5=1&amp;autohide=1&amp;enablejsapi=1&amp;controls=2&amp;fs=1&amp; modestbranding=1&amp;rel=0&amp;showinfo=0&amp;theme=light&amp;autoplay=1">
171 <img id="video-thumbnail" src="/img/video-thumbnail.jpg" alt="{{ "Introduc tion to Adblock Plus video thumbnail" | translate("video-alt-text") }}">
172 <img id="video-play" src="/img/video-external.png" alt="{{ "Play Video" | translate("video-play-alt-text") }}">
173 </a>
174 <p id="video-disclaimer">
175 {{ "Click to play this video. Please note that this video is hosted by You Tube. When this video is played, some personal data is transferred to YouTube. F or more information, please review YouTube's <a href='https://www.google.com/int l/en/policies/privacy/' target='_blank'>privacy policy</a>." | translate("video- disclaimer") }}
176 </p>
177 </div>
178
179 <img id="maxthon-instruction" src="/img/maxthon-instruction.png" alt="{{"Activ ate Adblock Plus in Maxthon"|translate("maxthon-instruction")}}">
180 <img id="edge-teaser" src="/img/edge_teaser.png" alt="{{"Comming soon image of Adblock Plus for Microsoft Edge"|translate("edge-teaser")}}" />
181 </div>
182
183 <div id="media-section" class="bg-primary section">
184 <div class="container">
185 <div id="media">
186 <header id="media-header">
187 <h2>{{ "As Mentioned On:" | translate("as-mentioned-header", "header") } }</h2>
188 <small>{{ "(Links open in a new window)" | translate("as-mentioned-title ", "tooltip") }}</small>
189 </header>
190 <ul id="media-list" class="unstyled">
191 {% for item in media_coverage %}
192 <li>
193 <a href="{{ item.link }}" target="_blank" title="{{ item.link_title | translate(item.publisher + "-tooltip", "tooltip") }}">
194 <img src="/img/media/{{ item.image }}.png" srcset="/img/media/{{ ite m.image }}-2x.png 2x" alt="{{ item.image_alt | translate(item.publisher + "-alt" , "alt text") }}">
195 </a>
196 </li>
197 {% endfor %}
198 </ul>
199 </div>
200 </div>
201 </div>
202
203 <? include features ?>
204
205 {% if page == "internet-explorer" %}
206 <p id="ready-for-windows-notice" class="notice">
207 {{"Adblock Plus for Internet Explorer is supported by eyeo GmbH on the followi ng 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 sup ported servicing branches of Windows 10 including - Current Branch, Current Bran ch for Business and the following Long-Term Servicing branch: Windows 10."|trans late("ready-for-windows-notice")}}
208 </p>
209 {% endif %}
210
211 <hr>
212 <div id="footnote">
213 [1] {{"The following rules <strong>have</strong> and <strong>always will</stro ng> apply to everyone, without exception:"|translate("footnote-headline")}}
214 <ul>
215 <li>
216 {{"Participants cannot pay to avoid the <a href=\"acceptable-ads#criteria- general\">criteria</a>. Every ad must comply."|translate("footnote-must-comply") }}
217 </li>
218 <li>
219 {{"For transparency, we add all Acceptable Ads to our <a href=\"https://ad blockplus.org/forum/viewforum.php?f=12\">forum</a> so that our community of user s can provide feedback."|translate("footnote-forum")}}
220 </li>
221 <li>
222 {{"We listen to our users. If an Acceptable Ads proposal is flagged by our community for a legitimate reason, we will remove it from the whitelist."|trans late("footnote-value-users")}}
223 </li>
224 <li>
225 {{"We are able to keep our open source product free by charging large enti ties a fee for whitelisting services. For the other roughly 90 percent of our pa rtners, these services are offered free of charge."|translate("footnote-keep-fre e")}}
226 </li>
227 </ul>
228 </div>
229
230 <script src="/js/index.js"></script>
OLDNEW
« no previous file with comments | « includes/hero-download.html ('k') | includes/mobile-cross-promotion.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld