summaryrefslogtreecommitdiff
path: root/tmpl/kanji.html
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2017-09-20 23:15:02 -0700
committerAlex Yatskov <alex@foosoft.net>2017-09-20 23:15:02 -0700
commit119def2bebc9adea3a29e9152c7e4747d81d54fa (patch)
treee8ad278e336be09e34bbc6373da73496bb35c2a2 /tmpl/kanji.html
parent0554aa0d275dd989260ec8e426f35f946074c674 (diff)
wip
Diffstat (limited to 'tmpl/kanji.html')
-rw-r--r--tmpl/kanji.html19
1 files changed, 3 insertions, 16 deletions
diff --git a/tmpl/kanji.html b/tmpl/kanji.html
index 57b6b7dc..354e097d 100644
--- a/tmpl/kanji.html
+++ b/tmpl/kanji.html
@@ -57,29 +57,16 @@
<span class="glossary-item">{{glossary.[0]}}</span>
{{/if}}
</td>
- <td>
- {{#if stats}}
- <table class="info-output">
- {{#each stats}}
- <tr>
- <th>{{#if notes}}{{notes}}{{else}}{{name}}{{/if}}</th>
- <td>{{value}}</td>
- </tr>
- {{/each}}
- </table>
- {{else}}
- No statistical data found
- {{/if}}
- </td>
+ <td></td>
</tr>
<tr>
<th colspan="3">Dictionary Indices</th>
</tr>
<tr>
<td colspan="3">
- {{#if indices}}
+ {{#if stats.indices}}
<table class="info-output">
- {{#each indices}}
+ {{#each stats.indices}}
<tr>
<th>{{#if notes}}{{notes}}{{else}}{{name}}{{/if}}</th>
<td>{{value}}</td>