Dressed up friend_notification mail
This commit is contained in:
parent
39c3fa427e
commit
22f7c1f721
2 changed files with 11 additions and 5 deletions
|
@ -1,7 +1,11 @@
|
|||
<p><%= t 'notifier.friend_notification.had_added_you', :user => @friend.befriender.display_name %></p>
|
||||
<% content_for :body do %>
|
||||
<p style="margin: 0"><%= t 'notifier.friend_notification.had_added_you', :user => @friend.befriender.display_name %></p>
|
||||
|
||||
<p><%= raw t 'notifier.friend_notification.see_their_profile', :userurl => link_to(@viewurl, @viewurl) %></p>
|
||||
<%= render "notifier/user_message_table", :captured => capture { %>
|
||||
<p><%= raw t 'notifier.friend_notification.see_their_profile', :userurl => link_to(@viewurl, @viewurl) %></p>
|
||||
|
||||
<% unless @friend.befriendee.is_friends_with?(@friend.befriender) -%>
|
||||
<p><%= raw t 'notifier.friend_notification.befriend_them', :befriendurl => link_to(@friendurl, @friendurl) %></p>
|
||||
<% end -%>
|
||||
<% unless @friend.befriendee.is_friends_with?(@friend.befriender) -%>
|
||||
<p><%= raw t 'notifier.friend_notification.befriend_them', :befriendurl => link_to(@friendurl, @friendurl) %></p>
|
||||
<% end -%>
|
||||
<% } %>
|
||||
<% end %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue