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

Unified Diff: templates/article.tmpl

Issue 29572657: Issue 5787 - Add Topics Accordion to Article Template on help.eyeo.com (Closed) Base URL: https://hg.adblockplus.org/help.eyeo.com
Patch Set: Addressed final NITs Created Oct. 11, 2017, 5:01 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/js/main.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: templates/article.tmpl
===================================================================
--- a/templates/article.tmpl
+++ b/templates/article.tmpl
@@ -19,42 +19,12 @@
</div>
{% endif %}
<div class="article-body content">
{{ body | safe }}
</div>
</article>
<aside class="section column one-third">
- <dl class="accordion">
- <dt role="heading" aria-level="3" class="accordion-heading">
- <button aria-expanded="true" aria-controls="sect1" id="heading1" class="accordion-toggle-button">
- <img src="/img/png/arrow-icon-secondary.png" srcset="/img/svg/arrow-icon-secondary.svg 2x" alt="{{ "Toggle Section" | translate("accordion-toggle-icon", "Image alt text") }}">
- Section 1 Title
- </button>
- </dt>
- <dd role="region" aria-labelledby="heading1" id="sect1" class="accordion-body">
- Section 1 Content
- </dd>
-
- <dt role="heading" aria-level="3" class="accordion-heading">
- <button aria-expanded="true" aria-controls="sect2" id="heading2" class="accordion-toggle-button">
- <img src="/img/png/arrow-icon-secondary.png" srcset="/img/svg/arrow-icon-secondary.svg 2x" alt="{{ "Toggle Section" | translate("accordion-toggle-icon", "Image alt text") }}">
- Section 2 Title
- </button>
- </dt>
- <dd role="region" aria-labelledby="heading2" id="sect2" class="accordion-body">
- Section 2 Content
- </dd>
-
- <dt role="heading" aria-level="3" class="accordion-heading">
- <button aria-expanded="true" aria-controls="sect3" id="heading3" class="accordion-toggle-button">
- <img src="/img/png/arrow-icon-secondary.png" srcset="/img/svg/arrow-icon-secondary.svg 2x" alt="{{ "Toggle Section" | translate("accordion-toggle-icon", "Image alt text") }}">
- Section 3 Title
- </button>
- </dt>
- <dd role="region" aria-labelledby="heading3" id="sect3" class="accordion-body">
- Section 3 Content
- </dd>
- </dl>
+ <? include product-topics-accordion ?>
</aside>
</main>
{% endblock %}
« no previous file with comments | « static/js/main.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld