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

Unified Diff: includes/index.tmpl

Issue 29727563: Fixes #35 - Progressively enhance install button with appropriate links and text (Closed) Base URL: https://hg.adblockplus.org/web.adblockplus.org
Patch Set: Rebase Created March 21, 2018, 9:16 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
===================================================================
new file mode 100644
--- /dev/null
+++ b/includes/index.tmpl
@@ -0,0 +1,24 @@
+title=Adblock Plus - Surf the web without annoying ads!
+description=Adblock Plus is the most popular ad blocker available for Firefox, Chrome, Opera, Safari, Android and Internet Explorer. Block all annoying ads all over the web: remove video ads on YouTube, block Facebook ads, get rid of pop-ups and much more. On Google Chrome, Adblock Plus is one of the fastest growing extensions ever. Adblock Plus is used on over 100 million devices. Download online for free now!
+
+<head>
+ <link rel="stylesheet" href="/css/index.css">
+</head>
+
+<? include hero-download ?>
+<? include as-mentioned ?>
+<? include features ?>
+<? include cross-promotion ?>
+<? include footnote ?>
+
+<script id="hero-download-button-template" type="text/template">
+ {% if locale in ["en", "de", "fr"] %}
+ {{ "Agree and Install for <fix>browser</fix>" | translate("agree-and-install-for-browser", "button label") }}
+ {% else %}
+ {{ "Install for <fix>browser</fix>" | translate("install-for-browser", "butt
saroyanm 2018/03/23 19:08:36 The installation "visited" state of this button is
ire 2018/03/26 10:23:00 This issue was fixed in https://codereview.adblock
+ on label") }}
+ {% endif %}
+</script>
+
+<script src="/js/vendor/bowser.js"></script>
+<script src="/js/index.js"></script>

Powered by Google App Engine
This is Rietveld