diff options
author | Alex Yatskov <alex@foosoft.net> | 2017-09-17 12:56:34 -0700 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2017-09-17 12:56:34 -0700 |
commit | ba25fbfd1f6187e75bbf3aa2e36717c081f09e7c (patch) | |
tree | 186496e2c63ff0bf5c2dc78f04b5382d41b1bfae /tmpl | |
parent | 5476c100467e31d7dac02a4b1c14e62a4e9b34d0 (diff) |
backwards compat
Diffstat (limited to 'tmpl')
-rw-r--r-- | tmpl/kanji.html | 30 |
1 files changed, 28 insertions, 2 deletions
diff --git a/tmpl/kanji.html b/tmpl/kanji.html index 9ab5b2a8..6cea57f9 100644 --- a/tmpl/kanji.html +++ b/tmpl/kanji.html @@ -53,7 +53,33 @@ <span class="glossary-item">{{glossary.[0]}}</span> {{/if}} </td> - <td></td> + <td> + <dl> + {{#if stats}} + {{#each stats}} + <dd><b>{{@key}}</b>: {{.}}</dd> + {{/each}} + {{else}} + No statistical data found + {{/if}} + </dl> + </td> + </tr> + <tr> + <th colspan="3">Dictionary Indices</th> + </tr> + <tr> + <td colspan="3"> + <dl> + {{#if indices}} + {{#each indices}} + <dd><b>{{@key}}</b>: {{.}}</dd> + {{/each}} + {{else}} + No index data found + {{/if}} + </dl> + </td> </tr> </table> @@ -69,5 +95,5 @@ {{> kanji debug=../debug addable=../addable source=../source root=../root}} {{/each}} {{else}} -<p class="note">No results found.</p> +<p class="note">No results found</p> {{/if}} |