aboutsummaryrefslogtreecommitdiff
path: root/tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'tmpl')
-rw-r--r--tmpl/kanji.html30
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}}