]> git.openstreetmap.org Git - rails.git/blob - app/views/notifier/friend_notification.html.erb
3f260dc9280fe12ba69922e6c383feb1343835c7
[rails.git] / app / views / notifier / friend_notification.html.erb
1 <% content_for :body do %>
2   <p style="margin: 0"><%= t 'notifier.friend_notification.had_added_you', :user => @friend.befriender.display_name %></p>
3
4   <%= render "notifier/user_message_table", :captured => capture { %>
5     <p><%= raw t 'notifier.friend_notification.see_their_profile', :userurl => link_to(@viewurl, @viewurl) %></p>
6
7     <% unless @friend.befriendee.is_friends_with?(@friend.befriender) -%>
8     <p><%= raw t 'notifier.friend_notification.befriend_them', :befriendurl => link_to(@friendurl, @friendurl) %></p>
9     <% end -%>
10   <% } %>
11 <% end %>