diff options
author | Alex Yatskov <alex@foosoft.net> | 2016-12-22 18:50:58 -0800 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2016-12-22 18:50:58 -0800 |
commit | 39fa11f72bae62985ee5b27103e5959dab30316c (patch) | |
tree | e7fe89d18a2b0bfa892ede044d7e6dcc076bbf7b /tmpl/kanji-list.html | |
parent | 5710dc55a73491a0be2259fbd21874bddda54877 (diff) | |
parent | 9d21f8a456530c29c7c03db4896562a4902f6f8a (diff) |
Merge branch 'dev'
Diffstat (limited to 'tmpl/kanji-list.html')
-rw-r--r-- | tmpl/kanji-list.html | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/tmpl/kanji-list.html b/tmpl/kanji-list.html index d418eafd..af38d485 100644 --- a/tmpl/kanji-list.html +++ b/tmpl/kanji-list.html @@ -1,5 +1,9 @@ {{> header.html}} -{{#each definitions}} -{{> kanji.html addable=../addable root=../root options=../options sequence=../sequence}} -{{/each}} +{{#if definitions}} + {{#each definitions}} + {{> kanji.html addable=../addable root=../root options=../options sequence=../sequence}} + {{/each}} +{{else}} + <p>No results found</p> +{{/if}} {{> footer.html}} |