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

Unified 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: Addressed NITs Created Oct. 9, 2017, 7:46 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « static/scss/main.scss ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: templates/article.tmpl
===================================================================
new file mode 100644
--- /dev/null
+++ b/templates/article.tmpl
@@ -0,0 +1,30 @@
+{% extends "templates/default" %}
+
+{% set product = products[product_id] %}
+
+{% block body %}
+[Breadcrumbs]
+
+<main id="main" class="container clearfix">
+ <article class="article card {{ product_id }}-card section column two-thirds">
+ <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") }}">
+
+ {{ title | translate( get_page_name(page) + "-title", "Article title") }}
+ </h1>
+
+ {% if hide_browser_selector is not defined %}
+ <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>
+</main>
+{% endblock %}
« no previous file with comments | « static/scss/main.scss ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld