X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/104f5540089b7c5297495e71b7d6697c84916c27..f1a4669c957d29c012466768581c4a801e5029be:/app/assets/javascripts/templates/notes/show.jst.ejs?ds=inline diff --git a/app/assets/javascripts/templates/notes/show.jst.ejs b/app/assets/javascripts/templates/notes/show.jst.ejs index e60971884..63177012c 100644 --- a/app/assets/javascripts/templates/notes/show.jst.ejs +++ b/app/assets/javascripts/templates/notes/show.jst.ejs @@ -1,5 +1,5 @@
-

<%- I18n.t('javascripts.notes.show.title', { id: note.id }) %>

+ <% if (note.comments.some(function (comment) { return !comment.user })) { %> <%- I18n.t('javascripts.notes.show.anonymous_warning') %> <% } %> @@ -23,10 +23,18 @@ <% if (note.status == "open") { %>
-
-
- - +
+ + + +
+ + <% } else { %> +
+ +
+ +
<% } %>