X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/7dbf8d83369cb73929080c4ba23fdd7dcd0184df..252b9ef08a0b0b7d34eea83149cb1a8ad7af9e34:/app/views/browse/note.html.erb diff --git a/app/views/browse/note.html.erb b/app/views/browse/note.html.erb index fa9e88628..a677a7c14 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) %>
@@ -42,10 +42,14 @@ <% if @note.status == "open" %>
- +
- - + <% 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 %>