X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/417176f8685ae60b670e609ca4d7e2e7c5c07647..dddef7672e37e85e14af7aa2ffbd95214bd2689f:/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..201c14cb0 100644 --- a/app/views/notifier/diary_comment_notification.html.erb +++ b/app/views/notifier/diary_comment_notification.html.erb @@ -1,20 +1,18 @@ -<% 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', - :readurl => link_to(@readurl, @readurl) + tag(:br), - :commenturl => link_to(@commenturl, @commenturl) + tag(:br), - :replyurl => link_to(@replyurl, @replyurl) - %>
+<%= raw t ".footer", + :readurl => link_to(@readurl, @readurl) + tag(:br), + :commenturl => link_to(@commenturl, @commenturl) + tag(:br), + :replyurl => link_to(@replyurl, @replyurl) %> +
<% end %>