Only show annotations div if there are any.

Without any annotations, the div just makes for some good-looking
whitespace.
This commit is contained in:
Mathias Meyer 2014-05-09 13:18:14 +02:00
parent 680a0c8f22
commit 5f46ebbe35

View File

@ -1,3 +1,4 @@
{{#if view.annotations}}
<div id="annotations">
{{#each annotation in view.annotations}}
<div class="annotation">
@ -8,3 +9,4 @@
</div>
{{/each}}
</div>
{{/if}}