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