X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/417176f8685ae60b670e609ca4d7e2e7c5c07647..0e810db9277bbeff0bd92f73e3886010d14b4377:/app/views/notifier/diary_comment_notification.html.erb diff --git a/app/views/notifier/diary_comment_notification.html.erb b/app/views/notifier/diary_comment_notification.html.erb index ea9a65591..163223b44 100644 --- a/app/views/notifier/diary_comment_notification.html.erb +++ b/app/views/notifier/diary_comment_notification.html.erb @@ -1,18 +1,16 @@ -<% content_for :body do %> -
- <%= t'notifier.diary_comment_notification.hi', :to_user => @to_user %> -
-- <%= raw t'notifier.diary_comment_notification.header', :from_user => link_to_user(@from_user), :subject => content_tag("em", @title) %> -
++ <%= t '.hi', :to_user => @to_user %> +
++ <%= raw t '.header', :from_user => link_to_user(@from_user), :subject => content_tag("em", @title) %> +
- <%= render "notifier/user_message_table", :captured => capture { %> - <%= @text.to_html %> - <% } %> +<%= message_body do %> + <%= @text.to_html %> <% end %> <% content_for :footer do %> -<%= raw t'notifier.diary_comment_notification.footer', +
<%= raw t '.footer', :readurl => link_to(@readurl, @readurl) + tag(:br), :commenturl => link_to(@commenturl, @commenturl) + tag(:br), :replyurl => link_to(@replyurl, @replyurl)