diff --git a/tracks/app/views/note/index.rhtml b/tracks/app/views/note/index.rhtml index 03919b43..653b23fc 100644 --- a/tracks/app/views/note/index.rhtml +++ b/tracks/app/views/note/index.rhtml @@ -1,7 +1,11 @@
- <% for notes in @all_notes -%> -
- <%= render_partial "notes", notes %> -
+ <% if @all_notes.empty? -%> +

Currently there are no notes: add notes to projects from individual project pages.

+ <% else -%> + <% for notes in @all_notes -%> +
+ <%= render_partial "notes", notes %> +
+ <% end -%> <% end -%>
\ No newline at end of file