X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/e957aaacb622648a890657ed0880366c1f207699..85282f5cdd5b37016027feda0a16d8cbdc6a2581:/app/assets/javascripts/templates/notes/show.jst.ejs diff --git a/app/assets/javascripts/templates/notes/show.jst.ejs b/app/assets/javascripts/templates/notes/show.jst.ejs index abcecc66c..240259140 100644 --- a/app/assets/javascripts/templates/notes/show.jst.ejs +++ b/app/assets/javascripts/templates/notes/show.jst.ejs @@ -1,5 +1,8 @@
-

<%- 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') %> + <% } %> <% note.comments.forEach(function (comment) { %>
@@ -20,10 +23,18 @@ <% if (note.status == "open") { %>
-
-
- - +
+ + + +
+ + <% } else { %> +
+ +
+ +
<% } %>