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

Side by Side Diff: templates/article.tmpl

Issue 29556593: Issue 5690 - Create Article Template for help.eyeo.com (Closed) Base URL: https://hg.adblockplus.org/help.eyeo.com
Patch Set: Created Sept. 26, 2017, 9:12 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/scss/components/_article.scss ('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
(Empty)
1 {% extends "templates/default" %}
2
3 {% set product = products[product_id] %}
4
5 {% block body %}
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
8 <main id="main" class="container">
9 <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
10 <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
11 <h1 class="article-heading">
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
14 {{ title | translate( get_page_name(page) + "-title", "Article title") }}
15 </h1>
16
17 {% 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">
19 [Browser selector]
20 </div>
21 {% endif %}
22
23 <div class="article-body content">
24 {{ body | safe }}
25 </div>
26 </article>
27 <aside class="section column one-third">
28 [Topics Accordion]
29 </aside>
30 </div>
31 </main>
32 {% endblock %}
OLDNEW
« static/scss/components/_article.scss ('K') | « static/scss/main.scss ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld