diff options
author | Alex Yatskov <alex@foosoft.net> | 2017-09-22 20:48:07 -0700 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2017-09-22 20:48:07 -0700 |
commit | d398440d2b380b198555620e6e6bc9d2f5d2638f (patch) | |
tree | 8316242a9e595220eda45f860b8d987c6d39e2b4 /tmpl | |
parent | 578ec0b6d176f72d578e240b2c6712e588e8ed2a (diff) |
kanji template work
Diffstat (limited to 'tmpl')
-rw-r--r-- | tmpl/kanji.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tmpl/kanji.html b/tmpl/kanji.html index a4bd95ee..1081a141 100644 --- a/tmpl/kanji.html +++ b/tmpl/kanji.html @@ -48,7 +48,9 @@ No data found <tr> <th>Glossary</th> <th>Readings</th> + {{#if stats}} <th>Statistics</th> + {{/if}} </tr> <tr> <td class="glossary"> @@ -62,8 +64,11 @@ No data found {{#if onyomi}}<dl>{{#each onyomi}}<dd>{{.}}</dd>{{/each}}</dl>{{/if}} {{#if kunyomi}}<dl>{{#each kunyomi}}<dd>{{.}}</dd>{{/each}}</dl>{{/if}} </td> + {{#if stats}} <td>{{> table data=stats.misc}}</td> + {{/if}} </tr> + {{#if stats}} <tr> <th colspan="3">Classifications</th> </tr> @@ -82,6 +87,7 @@ No data found <tr> <td colspan="3">{{> table data=stats.index}}</td> </tr> + {{/if}} </table> {{#if debug}} |