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

Side by Side 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: Use Object.create() for inheritance, Remove console.log Created Nov. 1, 2017, 12:33 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 | « static/scss/main.scss ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 {% extends "templates/minimal" %} 1 {% extends "templates/minimal" %}
2 2
3 {% set product = products[product_id] %} 3 {% set product = products[product_id] %}
4 4
5 {% block body %} 5 {% block body %}
6 <nav aria-label="{{ "Breadcrumb" | translate("breadcrumb-label", "Label") }}" cl ass="breadcrumb"> 6 <nav aria-label="{{ "Breadcrumb" | translate("breadcrumb-label", "Label") }}" cl ass="breadcrumb">
7 <ol class="container large-desktop-width clearfix" itemscope itemtype="http:// schema.org/BreadcrumbList"> 7 <ol class="container large-desktop-width clearfix" itemscope itemtype="http:// schema.org/BreadcrumbList">
8 <li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListIte m"> 8 <li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListIte m">
9 <a class="has-pre-icon" itemscope itemtype="http://schema.org/Thing" itemp rop="item" href="{{ product.slug }}"> 9 <a class="has-pre-icon" itemscope itemtype="http://schema.org/Thing" itemp rop="item" href="{{ product.slug }}">
10 <span class="pre-icon" style="{{ get_inline_bg('logo-'+product_id) }}">< /span> 10 <span class="pre-icon" style="{{ get_inline_bg('logo-'+product_id) }}">< /span>
(...skipping 10 matching lines...) Expand all
21 </ol> 21 </ol>
22 </nav> 22 </nav>
23 23
24 <main id="main" class="container clearfix"> 24 <main id="main" class="container clearfix">
25 <article class="article card {{ product_id }}-card section column two-thirds"> 25 <article class="article card {{ product_id }}-card section column two-thirds">
26 <header class="article-heading"> 26 <header class="article-heading">
27 <h1 class="has-pre-icon"> 27 <h1 class="has-pre-icon">
28 <span class="pre-icon" style="{{ get_inline_bg('logo-'+product_id) }}">< /span> 28 <span class="pre-icon" style="{{ get_inline_bg('logo-'+product_id) }}">< /span>
29 {{ title | translate( get_page_name(page) + "-title", "Article title") } } 29 {{ title | translate( get_page_name(page) + "-title", "Article title") } }
30 </h1> 30 </h1>
31 </header> 31 </header>
32 32
33 {% if hide_browser_selector is not defined %} 33 {% if hide_browser_selector is not defined %}
34 <div class="article-browser-selector"> 34 <div class="article-browser-selector">
35 [Browser selector] 35 <? include browser-select ?>
36 </div> 36 </div>
37 {% endif %} 37 {% endif %}
38 38
39 <div class="article-body content"> 39 <div class="article-body content">
40 {{ body | safe }} 40 {{ body | safe }}
41 </div> 41 </div>
42 </article> 42 </article>
43 <aside class="section column one-third"> 43 <aside class="section column one-third">
44 <? include product-topics-accordion ?> 44 <? include product-topics-accordion ?>
45 </aside> 45 </aside>
46 </main> 46 </main>
47 47
48 <script id="no-content-for-platform-message" type="text/template"> 48 <script id="no-content-for-platform-message" type="text/template">
49 <p>{{ "Unfortunately, there is no content specific for your current browser. P lease use the dropdown menu above to choose a different browser." | translate("n o-content-for-platform-message", "paragraph") }}</p> 49 <p>{{ "Unfortunately, there is no content specific for your current browser. P lease use the dropdown menu above to choose a different browser." | translate("n o-content-for-platform-message", "paragraph") }}</p>
50 </script> 50 </script>
51
52 <script src="/js/vendor/bowser.js"></script>
51 {% endblock %} 53 {% endblock %}
52 54
53 {% block footer %} 55 {% block footer %}
54 <? include contact ?> 56 <? include contact ?>
55 {% endblock %} 57 {% endblock %}
OLDNEW
« no previous file with comments | « static/scss/main.scss ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld