diff options
author | Alex Yatskov <alex@foosoft.net> | 2017-05-25 23:06:10 -0700 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2017-05-25 23:06:10 -0700 |
commit | 16baf9a400ac11a1c4f53ba6665db03a900511e0 (patch) | |
tree | 685096179093f112a9263f15d3cf081f50e9634d /tmpl | |
parent | 1cdf496824709b4e4579d700c333e832d790925e (diff) | |
parent | 618a3cb319c247c7196b1b83389d5f43241ab0c6 (diff) |
Merge branch 'master' into firefox-amo
Diffstat (limited to 'tmpl')
-rw-r--r-- | tmpl/kanji.html | 6 | ||||
-rw-r--r-- | tmpl/terms.html | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/tmpl/kanji.html b/tmpl/kanji.html index acd79036..a2f78aff 100644 --- a/tmpl/kanji.html +++ b/tmpl/kanji.html @@ -50,13 +50,17 @@ <div class="glossary-item">{{#multiLine}}{{glossary.[0]}}{{/multiLine}}</div> {{/if}} </div> + + {{#if debug}} + <pre>{{#dumpObject}}{{{.}}}{{/dumpObject}}</pre> + {{/if}} </div> {{/inline}} {{#if definitions}} {{#each definitions}} {{#unless @first}}<hr>{{/unless}} -{{> kanji addable=../addable source=../source root=../root}} +{{> kanji debug=../debug addable=../addable source=../source root=../root}} {{/each}} {{else}} <p>No results found.</p> diff --git a/tmpl/terms.html b/tmpl/terms.html index dc50efe2..80735974 100644 --- a/tmpl/terms.html +++ b/tmpl/terms.html @@ -59,13 +59,17 @@ {{> definition}} {{/if}} </div> + + {{#if debug}} + <pre>{{#dumpObject}}{{{.}}}{{/dumpObject}}</pre> + {{/if}} </div> {{/inline}} {{#if definitions}} {{#each definitions}} {{#unless @first}}<hr>{{/unless}} -{{> term grouped=../grouped addable=../addable playback=../playback}} +{{> term debug=../debug grouped=../grouped addable=../addable playback=../playback}} {{/each}} {{else}} <p>No results found.</p> |