X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/043d29fd7eb72048cf5d07edfbc20ec5c25af708..99492de1d30fcc93576e33b6b0362a455105f72c:/app/views/browse/note.html.erb diff --git a/app/views/browse/note.html.erb b/app/views/browse/note.html.erb index 1bacd27d6..37067c311 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) %>
@@ -40,8 +40,12 @@
- - + <% if current_user and current_user.moderator? -%> + + <% end -%> + <% if current_user -%> + + <% end -%>
@@ -49,8 +53,12 @@
- - + <% if current_user and current_user.moderator? -%> + + <% end -%> + <% if current_user -%> + + <% end -%>
<% end %>