X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/5ad45549e1f871d98ff12f3d80d5d065f19a219e..b90d27cdff7893b6e814cc0a93272d193114e81b:/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 8c37118f1..240259140 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 { %> +
+ +
+ +
<% } %>