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

Unified Diff: includes/product-topics-accordion.tmpl

Issue 29624561: Issue 6104 - Minified code in help center repository (Closed) Base URL: https://hg.adblockplus.org/help.eyeo.com
Patch Set: Consolidated gulp tasks Created Dec. 7, 2017, 2:48 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
« gulpfile.js ('K') | « includes/layout/header.tmpl ('k') | package.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: includes/product-topics-accordion.tmpl
===================================================================
--- a/includes/product-topics-accordion.tmpl
+++ b/includes/product-topics-accordion.tmpl
@@ -1,15 +1,15 @@
<dl id="product-topics-accordion" class="accordion">
{% for category in product.help_categories %}
{% set articles = get_pages_metadata({ "product_id": product_id, "template": "article", "category": category.name }) %}
{% if articles %}
<dt role="heading" aria-level="3" class="accordion-heading">
<button aria-expanded="true" aria-controls="sect-{{ category.slug }}" id="heading-{{ category.slug }}" class="accordion-toggle-button">
- <img src="/img/png/arrow-icon-secondary.png" srcset="/img/svg/arrow-icon-secondary.svg 2x" alt="{{ "Toggle arrow" | translate("accordion-toggle-icon", "Image alt text") }}">
+ <img src="/dist/img/png/arrow-icon-secondary.png" srcset="/dist/img/svg/arrow-icon-secondary.svg 2x" alt="{{ "Toggle arrow" | translate("accordion-toggle-icon", "Image alt text") }}">
{{ category.name | translate( category.slug + "-category-title", "Category title") }}
</button>
</dt>
<dd role="region" aria-labelledby="heading-{{ category.slug }}" id="sect-{{ category.slug }}" class="accordion-body">
<ul class="underlined-list">
{% for article in articles %}
<li>
<a href="{{ article["page"] }}">
« gulpfile.js ('K') | « includes/layout/header.tmpl ('k') | package.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld