X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/7ef57b2fe858689370dea6852b196d2213dacefa..448a68447fcadbb1e544fe8ebdea4d029e9593a1:/app/views/notifier/note_comment_notification.html.erb diff --git a/app/views/notifier/note_comment_notification.html.erb b/app/views/notifier/note_comment_notification.html.erb index ab4378fa2..909bffaa6 100644 --- a/app/views/notifier/note_comment_notification.html.erb +++ b/app/views/notifier/note_comment_notification.html.erb @@ -1,15 +1,15 @@ -<% content_for :body do %> -

<%= t 'notifier.note_comment_notification.greeting' %>

+

<%= t 'notifier.note_comment_notification.greeting' %>

- <% if @owner %> -

<%= raw t "notifier.note_comment_notification.#{@event}.your_note", :commenter => link_to_user(@commenter), :place => @place %>

- <% else %> -

<%= raw t "notifier.note_comment_notification.#{@event}.commented_note", :commenter => link_to_user(@commenter), :place => @place %>

- <% end %> +<% if @owner %> +

<%= raw t "notifier.note_comment_notification.#{@event}.your_note", :commenter => link_to_user(@commenter), :place => @place %>

+<% else %> +

<%= raw t "notifier.note_comment_notification.#{@event}.commented_note", :commenter => link_to_user(@commenter), :place => @place %>

+<% end %> - <%= render "notifier/user_message_table", :captured => capture { %> +<% unless @comment.empty? %> + <%= message_body do %> <%= @comment.to_html %> - <% } %> - -

<%= raw t 'notifier.note_comment_notification.details', :url => link_to(@noteurl, @noteurl) %>

+ <% end %> <% end %> + +

<%= raw t 'notifier.note_comment_notification.details', :url => link_to(@noteurl, @noteurl) %>