From: Aaron Lidman Date: Tue, 12 Nov 2013 18:09:46 +0000 (-0800) Subject: Moved note description to the sidebar header X-Git-Tag: live~4653^2~112 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/7a435df917edbad034db908b7a00d14d31b7396b?hp=c4090bb150e0eb866151ba0477e50b0421d60527 Moved note description to the sidebar header --- diff --git a/app/views/browse/note.html.erb b/app/views/browse/note.html.erb index 7f863fef4..f6db9f154 100644 --- a/app/views/browse/note.html.erb +++ b/app/views/browse/note.html.erb @@ -2,12 +2,13 @@

- <%= t "browse.note.#{@note.status}_title", :note_name => @note.id %> + <%= h(@note.comments.first.body.to_html) %>

-

<%= h(@note.comments.first.body.to_html) %>

+ <%= t "browse.note.#{@note.status}_title", :note_name => @note.id %> +
<%= note_event('open', @note.created_at, @note.author) %> <% if @note.status == "closed" %>
diff --git a/config/locales/en.yml b/config/locales/en.yml index 1e3da2ad7..0253a7f21 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -283,8 +283,8 @@ en: note: title: "Note" new_note: "Add a note" - open_title: "Unresolved note: %{note_name}" - closed_title: "Resolved note: %{note_name}" + open_title: "Unresolved note #%{note_name}" + closed_title: "Resolved note #%{note_name}" opened: "Opened" last_modified: "Last modified" closed: "Closed"