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: Indentation Created Nov. 1, 2017, 12:34 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
« static/js/main.js ('K') | « static/scss/main.scss ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: templates/article.tmpl
===================================================================
--- a/templates/article.tmpl
+++ b/templates/article.tmpl
@@ -23,33 +23,35 @@
<main id="main" class="container clearfix">
<article class="article card {{ product_id }}-card section column two-thirds">
<header class="article-heading">
<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>
-
+ </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>
<aside class="section column one-third">
<? include product-topics-accordion ?>
</aside>
</main>
<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>
+
+<script src="/js/vendor/bowser.js"></script>
{% endblock %}
{% block footer %}
<? include contact ?>
{% endblock %}
« static/js/main.js ('K') | « static/scss/main.scss ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld