X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/3a654c89197b40f4a623c0dd33b87b415623d97d..7ef57b2fe858689370dea6852b196d2213dacefa:/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 fade148d8..ab4378fa2 100644 --- a/app/views/notifier/note_comment_notification.html.erb +++ b/app/views/notifier/note_comment_notification.html.erb @@ -1,15 +1,15 @@ -<%= t 'notifier.note_plain.greeting' %> +<% content_for :body do %> +

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

-<% if @owner %> -<%= t 'notifier.note_plain.your_note', :commenter => @commenter, :place => @place %> -<% else %> -<%= t 'notifier.note_plain.commented_note', :commenter => @commenter, :place => @place %> -<% end %> - -== -<%= @comment %> -== - -<%= t 'notifier.note_plain.details', :URL => @noteurl %> + <% 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 { %> + <%= @comment.to_html %> + <% } %> +

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

+<% end %>