X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/2aca6920dc3488a381b275d21a31344da02029e6..d3700e6201b4b78a70bbb2941572edc985b63c2c:/app/views/browse/note.html.erb diff --git a/app/views/browse/note.html.erb b/app/views/browse/note.html.erb index fa9e88628..53ea0759e 100644 --- a/app/views/browse/note.html.erb +++ b/app/views/browse/note.html.erb @@ -1,12 +1,12 @@ -<% set_title(t('browse.note.title', :id => @note.id)) %> +<% set_title(t('.title', :id => @note.id)) %>

- <%= t "browse.note.#{@note.status}_title", :note_name => @note.id %> + <%= t ".#{@note.status}_title", :note_name => @note.id %>

-

<%= t('browse.note.description') %>

+

<%= t('.description') %>

<%= h(@note_comments.first.body.to_html) %>
@@ -44,8 +44,12 @@
- - + <% if current_user and current_user.moderator? -%> + + <% end -%> + <% if current_user -%> + + <% end -%>
@@ -53,8 +57,12 @@
- - + <% if current_user and current_user.moderator? -%> + + <% end -%> + <% if current_user -%> + + <% end -%>
<% end %>