diff --git a/js/templates/attachts.handlebars b/js/templates/attachts.handlebars index 9763cde..bc97a08 100644 --- a/js/templates/attachts.handlebars +++ b/js/templates/attachts.handlebars @@ -2,10 +2,10 @@ {{#each attachments}}
-
+
{{#if ../can_delete}} -
+
{{/if}}
{{/each}} diff --git a/js/templates/note-item.handlebars b/js/templates/note-item.handlebars index 3773662..1c57fbb 100644 --- a/js/templates/note-item.handlebars +++ b/js/templates/note-item.handlebars @@ -4,7 +4,7 @@
{{#each attachments}}
-
+
{{/each}}
diff --git a/js/templates/notes.handlebars b/js/templates/notes.handlebars index db84aa2..05e12b0 100644 --- a/js/templates/notes.handlebars +++ b/js/templates/notes.handlebars @@ -7,7 +7,7 @@
{{#each attachments}}
-
+
{{/each}}
@@ -114,6 +114,6 @@

{{loadingMsg}}

- +
{{/if}}