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: Extend CustomSelect, address NITs Created Oct. 27, 2017, 10:22 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« static/js/main.js ('K') | « 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 itemscope itemtype="http://schema.org/Thing" itemprop="item" href="{{ p roduct.slug }}"> 9 <a itemscope itemtype="http://schema.org/Thing" itemprop="item" href="{{ p roduct.slug }}">
10 <img class="heading-icon" src="/img/png/logo-{{ product_id }}.png" srcse t="/img/svg/logo-{{ product_id }}.svg 2x" alt="{{ product.full_name+" Logo" | tr anslate(product_id+"-logo-alt", "Image alt text") }}"> 10 <img class="heading-icon" src="/img/png/logo-{{ product_id }}.png" srcse t="/img/svg/logo-{{ product_id }}.svg 2x" alt="{{ product.full_name+" Logo" | tr anslate(product_id+"-logo-alt", "Image alt text") }}">
(...skipping 13 matching lines...) Expand all
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 <h1 class="article-heading"> 26 <h1 class="article-heading">
27 <img class="heading-icon" src="/img/png/logo-{{ product_id }}.png" srcse t="/img/svg/logo-{{ product_id }}.svg 2x" alt="{{ product.full_name+" Logo" | tr anslate( product_id+"-logo-alt", "Image alt text") }}"> 27 <img class="heading-icon" src="/img/png/logo-{{ product_id }}.png" srcse t="/img/svg/logo-{{ product_id }}.svg 2x" alt="{{ product.full_name+" Logo" | tr anslate( product_id+"-logo-alt", "Image alt text") }}">
28 28
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 31
32 {% if hide_browser_selector is not defined %} 32 {% if hide_browser_selector is not defined %}
33 <div class="article-browser-selector"> 33 <div class="article-browser-selector">
34 [Browser selector] 34 <? include browser-select ?>
35 </div> 35 </div>
36 {% endif %} 36 {% endif %}
37 37
38 <div class="article-body content"> 38 <div class="article-body content">
39 {{ body | safe }} 39 {{ body | safe }}
40 </div> 40 </div>
41 </article> 41 </article>
42 <aside class="section column one-third"> 42 <aside class="section column one-third">
43 <? include product-topics-accordion ?> 43 <? include product-topics-accordion ?>
44 </aside> 44 </aside>
45 </main> 45 </main>
46 46
47 <script id="no-content-for-platform-message" type="text/template"> 47 <script id="no-content-for-platform-message" type="text/template">
48 <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> 48 <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 </script> 49 </script>
50
51 <script src="/js/vendor/bowser.js"></script>
50 {% endblock %} 52 {% endblock %}
51 53
52 {% block footer %} 54 {% block footer %}
53 <? include contact ?> 55 <? include contact ?>
54 {% endblock %} 56 {% endblock %}
OLDNEW
« 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