]> git.openstreetmap.org Git - rails.git/blob - app/views/notifications/_notification_body.html.erb
Merge remote-tracking branch 'upstream/pull/7318'
[rails.git] / app / views / notifications / _notification_body.html.erb
1 <%# locals: (author: nil) %>
2
3 <div class="row">
4   <div class="col-1 text-center">
5     <% if author %>
6       <%= link_to(
7             user_thumbnail(author, :class => "img-fluid"),
8             user_url(author),
9             :target => "_blank", :rel => "noopener"
10           ) %>
11     <% end %>
12   </div>
13   <div class="col-11">
14     <%= yield %>
15   </div>
16 </div>