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

Unified Diff: templates/article.tmpl

Issue 29559620: Issue 5692 - Create Browser Selector with Browser Detection Component for help.eyeo.com (Closed) Base URL: https://hg.adblockplus.org/help.eyeo.com
Patch Set: Re-add browser-select include, add scripts block Created Nov. 2, 2017, 2:29 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: templates/article.tmpl
===================================================================
--- a/templates/article.tmpl
+++ b/templates/article.tmpl
@@ -29,17 +29,17 @@
<h1 class="has-pre-icon">
<span class="pre-icon" style="{{ get_inline_bg('logo-'+product_id) }}"></span>
{{ title | translate( get_page_name(page) + "-title", "Article title") }}
</h1>
</header>
{% if hide_browser_selector is not defined %}
<div class="article-browser-selector">
- [Browser selector]
+ <? include browser-select ?>
</div>
{% endif %}
<div class="article-body content">
{{ body | safe }}
</div>
</article>
</div>
@@ -52,8 +52,12 @@
<script id="no-content-for-platform-message" type="text/template">
<p>{{ "Unfortunately, there is no content specific for your current browser. Please use the dropdown menu above to choose a different browser." | translate("no-content-for-platform-message", "paragraph") }}</p>
</script>
{% endblock %}
{% block footer %}
<? include contact ?>
{% endblock %}
+
+{% block scripts %}
+<script src="/js/vendor/bowser.js"></script>
+{% endblock %}

Powered by Google App Engine
This is Rietveld