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

Side by Side Diff: templates/article.tmpl

Issue 29594555: Issue 5964 - Fix uneven padding of product accordion on article template on help.eyeo.com (Closed) Base URL: https://hg.adblockplus.org/help.eyeo.com
Patch Set: Created Nov. 1, 2017, 8:10 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
« no previous file with comments | « no previous file | 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>
11 <span itemprop="name">{{ product.full_name | translate(product_id+"-name ", "Product name") }}</span> 11 <span itemprop="name">{{ product.full_name | translate(product_id+"-name ", "Product name") }}</span>
12 </a> 12 </a>
13 <meta itemprop="position" content="1" /> 13 <meta itemprop="position" content="1" />
14 </li> 14 </li>
15 <li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListIte m"> 15 <li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListIte m">
16 <a itemscope itemtype="http://schema.org/Thing" itemprop="item" href="{{ p age }}" aria-current="page"> 16 <a itemscope itemtype="http://schema.org/Thing" itemprop="item" href="{{ p age }}" aria-current="page">
17 <span itemprop="name">{{ title | translate(get_page_name(page) + "-title ", "Article title") }}</span> 17 <span itemprop="name">{{ title | translate(get_page_name(page) + "-title ", "Article title") }}</span>
18 </a> 18 </a>
19 <meta itemprop="position" content="2" /> 19 <meta itemprop="position" content="2" />
20 </li> 20 </li>
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 <div class="row">
26 <header class="article-heading"> 26 <div class="column two-thirds">
27 <h1 class="has-pre-icon"> 27 <article class="article card {{ product_id }}-card section">
28 <span class="pre-icon" style="{{ get_inline_bg('logo-'+product_id) }}">< /span> 28 <header class="article-heading">
29 {{ title | translate( get_page_name(page) + "-title", "Article title") } } 29 <h1 class="has-pre-icon">
30 </h1> 30 <span class="pre-icon" style="{{ get_inline_bg('logo-'+product_id) } }"></span>
31 </header> 31 {{ title | translate( get_page_name(page) + "-title", "Article title ") }}
32 </h1>
33 </header>
32 34
33 {% if hide_browser_selector is not defined %} 35 {% if hide_browser_selector is not defined %}
34 <div class="article-browser-selector"> 36 <div class="article-browser-selector">
35 [Browser selector] 37 [Browser selector]
38 </div>
39 {% endif %}
40
41 <div class="article-body content">
42 {{ body | safe }}
43 </div>
44 </article>
36 </div> 45 </div>
37 {% endif %} 46 <aside class="section column one-third">
38 47 <? include product-topics-accordion ?>
39 <div class="article-body content"> 48 </aside>
40 {{ body | safe }} 49 </div>
41 </div>
42 </article>
43 <aside class="section column one-third">
44 <? include product-topics-accordion ?>
45 </aside>
46 </main> 50 </main>
47 51
48 <script id="no-content-for-platform-message" type="text/template"> 52 <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> 53 <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> 54 </script>
51 {% endblock %} 55 {% endblock %}
52 56
53 {% block footer %} 57 {% block footer %}
54 <? include contact ?> 58 <? include contact ?>
55 {% endblock %} 59 {% endblock %}
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld