From: Aaron Lidman Date: Wed, 13 Nov 2013 20:23:58 +0000 (-0800) Subject: Moved note description out of the sidebar header X-Git-Tag: live~4653^2~88 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/1769971cde94eb07854f3b9c1a830c885ca858a3 Moved note description out of the sidebar header Some indentation too. --- diff --git a/app/assets/stylesheets/common.css.scss b/app/assets/stylesheets/common.css.scss index 9f6be1979..d96a04eae 100644 --- a/app/assets/stylesheets/common.css.scss +++ b/app/assets/stylesheets/common.css.scss @@ -1088,6 +1088,14 @@ header .search_form { .note-comments li { margin: $lineheight/2 0; + + p { + margin-left: 10px; + } + } + + .note-description p { + margin-left: 10px; } } diff --git a/app/views/browse/note.html.erb b/app/views/browse/note.html.erb index a377ada6a..d35ac8419 100644 --- a/app/views/browse/note.html.erb +++ b/app/views/browse/note.html.erb @@ -2,12 +2,16 @@

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

+

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

+
+ <%= 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" %>