| Index: templates/article.tmpl |
| =================================================================== |
| new file mode 100644 |
| --- /dev/null |
| +++ b/templates/article.tmpl |
| @@ -0,0 +1,32 @@ |
| +{% extends "templates/default" %} |
| + |
| +{% set product = products[product_id] %} |
| + |
| +{% block body %} |
| +[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.
|
| + |
| +<main id="main" class="container"> |
| + <div class="row"> |
|
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
|
| + <article class="article card {{ product_id }}-card section column two-thirds"> |
|
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
|
| + <h1 class="article-heading"> |
| + <img class="heading-icon" src="/img/png/logo-{{ product_id }}.png" srcset="/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
|
| + |
| + {{ title | translate( get_page_name(page) + "-title", "Article title") }} |
| + </h1> |
| + |
| + {% if hide_browser_selector is not defined %} |
|
juliandoucette
2017/10/09 12:53:59
Neat
ire
2017/10/09 19:48:06
Thanks :)
|
| + <div class="article-browser-selector"> |
| + [Browser selector] |
| + </div> |
| + {% endif %} |
| + |
| + <div class="article-body content"> |
| + {{ body | safe }} |
| + </div> |
| + </article> |
| + <aside class="section column one-third"> |
| + [Topics Accordion] |
| + </aside> |
| + </div> |
| +</main> |
| +{% endblock %} |