]> git.openstreetmap.org Git - rails.git/blob - app/views/notifier/friend_notification.html.erb
Rework notes interface using OpenLayers and rails
[rails.git] / app / views / notifier / friend_notification.html.erb
1 <%=
2   t 'notifier.friend_notification.had_added_you',
3      :user => @friend.befriender.display_name
4 %>
5
6 <%=
7   t 'notifier.friend_notification.see_their_profile',
8      :userurl => url_for(:host => SERVER_URL,
9                          :controller => "user", :action => "view",
10                          :display_name => @friend.befriender.display_name)
11 %>
12
13 <%=
14   unless @friend.befriendee.is_friends_with?(@friend.befriender)
15     t 'notifier.friend_notification.befriend_them',
16        :befriendurl => url_for(:host => SERVER_URL,
17                                :controller => "user", :action => "make_friend",
18                                :display_name => @friend.befriender.display_name)
19   end
20 %>