Left: | ||
Right: |
LEFT | RIGHT |
---|---|
1 {% extends "templates/default" %} | 1 {% extends "templates/default" %} |
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] |
ire
2017/09/26 09:16:43
Placeholder. I can remove it if it's preferred to
juliandoucette
2017/10/09 12:54:00
Acknowledged.
| |
7 | 7 |
8 <main id="main" class="container"> | 8 <main id="main" class="container clearfix"> |
9 <div class="row"> | 9 <article class="article card {{ product_id }}-card section column two-thirds"> |
ire
2017/09/26 09:16:43
This row class is removing the margins added by th
juliandoucette
2017/10/09 12:54:00
This is expected.
ire
2017/10/09 19:48:06
Ah okay. This makes sense (obviously :p). I will o
| |
10 <article class="article card {{ product_id }}-card section column two-thirds "> | 10 <h1 class="article-heading"> |
juliandoucette
2017/10/09 12:53:59
NIT/Thinking-out-loud: We could add a product spec
ire
2017/10/09 19:48:06
This would work on some cases, but when we support
| |
11 <h1 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") }}"> |
12 <img class="heading-icon" src="/img/png/logo-{{ product_id }}.png" src set="/img/svg/logo-{{ product_id }}.svg 2x" alt="{{ product.full_name+" Logo" | translate( product_id+"-logo-alt", "Image alt text") }}"> | |
juliandoucette
2017/10/09 12:53:59
NIT: This doesn't seem to be vertically centred
ire
2017/10/09 19:48:06
https://issues.adblockplus.org/ticket/5848
ire
2017/10/09 19:48:07
I will create a separate issue for this as it coul
| |
13 | 12 |
14 {{ title | translate( get_page_name(page) + "-title", "Article title") }} | 13 {{ title | translate( get_page_name(page) + "-title", "Article title") } } |
15 </h1> | 14 </h1> |
16 | 15 |
17 {% if hide_browser_selector is not defined %} | 16 {% if hide_browser_selector is not defined %} |
juliandoucette
2017/10/09 12:53:59
Neat
ire
2017/10/09 19:48:06
Thanks :)
| |
18 <div class="article-browser-selector"> | 17 <div class="article-browser-selector"> |
19 [Browser selector] | 18 [Browser selector] |
20 </div> | 19 </div> |
21 {% endif %} | 20 {% endif %} |
22 | 21 |
23 <div class="article-body content"> | 22 <div class="article-body content"> |
24 {{ body | safe }} | 23 {{ body | safe }} |
25 </div> | 24 </div> |
26 </article> | 25 </article> |
27 <aside class="section column one-third"> | 26 <aside class="section column one-third"> |
28 [Topics Accordion] | 27 [Topics Accordion] |
29 </aside> | 28 </aside> |
30 </div> | |
31 </main> | 29 </main> |
32 {% endblock %} | 30 {% endblock %} |
LEFT | RIGHT |