summaryrefslogtreecommitdiff
path: root/tmpl/kanji.html
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2017-09-21 23:10:43 -0700
committerAlex Yatskov <alex@foosoft.net>2017-09-21 23:10:43 -0700
commitfe859a96cdcd6964898bfd492be034c95fd90285 (patch)
treef2bff01969b061119f416e5c00c05c5b320bfd13 /tmpl/kanji.html
parentf22a6990122007f2db0292c7e26aba0d5328de9d (diff)
kanji layout
Diffstat (limited to 'tmpl/kanji.html')
-rw-r--r--tmpl/kanji.html20
1 files changed, 11 insertions, 9 deletions
diff --git a/tmpl/kanji.html b/tmpl/kanji.html
index 405e0d0e..e3d0f275 100644
--- a/tmpl/kanji.html
+++ b/tmpl/kanji.html
@@ -48,7 +48,7 @@ No data found
<tr>
<th>Glossary</th>
<th>Readings</th>
- <th>Stats</th>
+ <th>Statistics</th>
</tr>
<tr>
<td class="glossary">
@@ -59,20 +59,22 @@ No data found
{{/if}}
</td>
<td class="reading">
- <dl>{{#each onyomi}}<dd>{{.}}</dd>{{/each}}</dl>
- <dl>{{#each kunyomi}}<dd>{{.}}</dd>{{/each}}</dl>
+ {{#if onyomi}}<dl>{{#each onyomi}}<dd>{{.}}</dd>{{/each}}</dl>{{/if}}
+ {{#if kunyomi}}<dl>{{#each kunyomi}}<dd>{{.}}</dd>{{/each}}</dl>{{/if}}
</td>
<td>{{> table data=stats.misc}}</td>
</tr>
<tr>
- <th>Query</th>
- <th></th>
- <th>Code</th>
+ <th colspan="3">Classifications</th>
</tr>
<tr>
- <td>{{> table data=stats.query}}</td>
- <td></td>
- <td>{{> table data=stats.code}}</td>
+ <td colspan="3">{{> table data=stats.query}}</td>
+ </tr>
+ <tr>
+ <th colspan="3">Codepoints</th>
+ </tr>
+ <tr>
+ <td colspan="3">{{> table data=stats.code}}</td>
</tr>
<tr>
<th colspan="3">Dictionary Indices</th>