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

Delta Between Two Patch Sets: templates/article.tmpl

Issue 29556593: Issue 5690 - Create Article Template for help.eyeo.com (Closed) Base URL: https://hg.adblockplus.org/help.eyeo.com
Left Patch Set: Created Sept. 26, 2017, 9:12 a.m.
Right Patch Set: Addressed NITs Created Oct. 9, 2017, 7:46 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « static/scss/main.scss ('k') | no next file » | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
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 %}
LEFTRIGHT

Powered by Google App Engine
This is Rietveld