]> git.openstreetmap.org Git - rails.git/blob - app/views/notifications/_new_follower.html.erb
Merge remote-tracking branch 'upstream/pull/7318'
[rails.git] / app / views / notifications / _new_follower.html.erb
1 <%# locals: (notification:, record:) %>
2
3 <%= render(
4       "notifications/notification_header",
5       :title => t(".headline"),
6       :timestamp => record.created_at
7     ) %>
8
9 <%= render(
10       "notifications/notification_body",
11       :author => record.follower
12     ) do %>
13     <p>
14     <%= t(
15           "notifications.new_follower.description_html",
16           :follower_name_with_link => link_to(
17             record.follower.display_name,
18             record.follower
19           ),
20           :link => link_to(
21             t("notifications.new_follower.link_text"),
22             follow_url(record.follower)
23           )
24         ) %>
25     </p>
26 <% end %>