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:
parent
680a0c8f22
commit
5f46ebbe35
|
@ -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}}
|
||||
|
|
Loading…
Reference in New Issue
Block a user