From 5f46ebbe354c18cada3b188a643aa98487b801a4 Mon Sep 17 00:00:00 2001 From: Mathias Meyer Date: Fri, 9 May 2014 13:18:14 +0200 Subject: [PATCH] Only show annotations div if there are any. Without any annotations, the div just makes for some good-looking whitespace. --- assets/scripts/app/templates/annotations/list.hbs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/assets/scripts/app/templates/annotations/list.hbs b/assets/scripts/app/templates/annotations/list.hbs index d80843b5..b0fe9f10 100644 --- a/assets/scripts/app/templates/annotations/list.hbs +++ b/assets/scripts/app/templates/annotations/list.hbs @@ -1,3 +1,4 @@ +{{#if view.annotations}}
{{#each annotation in view.annotations}}
@@ -8,3 +9,4 @@
{{/each}}
+{{/if}}