]> git.openstreetmap.org Git - rails.git/blob - app/views/notifier/diary_comment_notification.html.erb
Moved message table HTMl to a partial template
[rails.git] / app / views / notifier / diary_comment_notification.html.erb
1 <% content_for :body do %>
2   <p style="margin: 0">
3     <%= t'notifier.diary_comment_notification.hi', :to_user => @to_user %>
4   </p>
5   <p>
6     <%= raw t'notifier.diary_comment_notification.header', :from_user => link_to_user(@from_user), :subject => content_tag("em", @title) %>
7   </p>
8
9   <%= render "notifier/user_message_table", :captured => capture { %>
10     <%= @text.to_html %>
11   <% } %>
12 <% end %>
13
14 <% content_for :footer do %>
15   <p><%= raw t'notifier.diary_comment_notification.footer',
16              :readurl => link_to(@readurl, @readurl) + tag(:br),
17              :commenturl => link_to(@commenturl, @commenturl) + tag(:br),
18              :replyurl => link_to(@replyurl, @replyurl)
19   %></p>
20 <% end %>