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

Unified Diff: includes/install-button-templates.tmpl

Issue 29841563: Noissue - Merged index_page into master (Closed) Base URL: https://hg.adblockplus.org/web.adblockplus.org
Patch Set: Fixed more misc issues discussed in IRC Created July 30, 2018, 4:40 p.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/install-button-templates.tmpl
===================================================================
new file mode 100644
--- /dev/null
+++ b/includes/install-button-templates.tmpl
@@ -0,0 +1,21 @@
+{% for browser in browsers %}
+<script id="download-label-{{ browser.id }}" type="text/template">
+ {% if locale in ["en", "de", "fr"] %}
+ {{ get_string("agree-and-install-for-" + browser.id, "install-button") }}
+ {% else %}
+ {{ get_string("install-for-" + browser.id, "install-button") }}
+ {% endif %}
+</script>
+{% endfor %}
ire 2018/07/31 00:10:08 NIT/Suggest: Is there a need to end and start 3 di
+
+{% for browser in browsers %}
juliandoucette 2018/07/30 16:46:12 FIXME / Detail: I added these (temporarily) becaus
ire 2018/07/31 00:10:07 Acknowledged.
+<script id="install-label-{{ browser.id }}" type="text/template">
+ {{ get_string("install-for-" + browser.id, "install-button") }}
+</script>
+{% endfor %}
+
+{% for browser in browsers %}
+<script id="agree-and-install-label-{{ browser.id }}" type="text/template">
+ {{ get_string("agree-and-install-for-" + browser.id, "install-button") }}
+</script>
+{% endfor %}

Powered by Google App Engine
This is Rietveld