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

Side by Side Diff: templates/article.tmpl

Issue 29588588: Issue 5848 - Fix vertical alignment on .heading-icon images in help.eyeo.com (Closed) Base URL: https://hg.adblockplus.org/help.eyeo.com
Patch Set: Created Oct. 25, 2017, 10:21 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
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 [Breadcrumbs] 6 [Breadcrumbs]
7 7
8 <main id="main" class="container clearfix"> 8 <main id="main" class="container clearfix">
9 <article class="article card {{ product_id }}-card section column two-thirds"> 9 <article class="article card {{ product_id }}-card section column two-thirds">
10 <h1 class="article-heading"> 10 <header class="article-heading">
11 <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") }}"> 11 <h1 class="aside-icon-container">
12 <img src="/img/png/logo-{{ product_id }}.png" srcset="/img/svg/logo-{{ p roduct_id }}.svg 2x" alt="{{ product.full_name+" Logo" | translate( product_id+" -logo-alt", "Image alt text") }}">
12 13
13 {{ title | translate( get_page_name(page) + "-title", "Article title") } } 14 <span>{{ title | translate( get_page_name(page) + "-title", "Article tit le") }}</span>
14 </h1> 15 </h1>
15 16 </header>
16 {% if hide_browser_selector is not defined %}
17 <div class="article-browser-selector">
18 [Browser selector]
19 </div>
20 {% endif %}
21 17
22 <div class="article-body content"> 18 {% if hide_browser_selector is not defined %}
23 {{ body | safe }} 19 <div class="article-browser-selector">
24 </div> 20 [Browser selector]
21 </div>
22 {% endif %}
23
24 <div class="article-body content">
25 {{ body | safe }}
26 </div>
25 </article> 27 </article>
26 <aside class="section column one-third"> 28 <aside class="section column one-third">
27 <? include product-topics-accordion ?> 29 <? include product-topics-accordion ?>
28 </aside> 30 </aside>
29 </main> 31 </main>
30 32
31 <script id="no-content-for-platform-message" type="text/template"> 33 <script id="no-content-for-platform-message" type="text/template">
32 <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> 34 <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>
33 </script> 35 </script>
34 {% endblock %} 36 {% endblock %}
35 37
36 {% block footer %} 38 {% block footer %}
37 <? include contact ?> 39 <? include contact ?>
38 {% endblock %} 40 {% endblock %}
OLDNEW

Powered by Google App Engine
This is Rietveld