]> git.openstreetmap.org Git - rails.git/blob - app/views/notifications/_notification_header.html.erb
Merge remote-tracking branch 'upstream/pull/7294'
[rails.git] / app / views / notifications / _notification_header.html.erb
1 <%# locals: (title:, uri: nil, timestamp:) %>
2
3 <header class="row align-items-center">
4   <h2 class="col-8 h6"><%= link_to_if(uri, title, uri) %></h2>
5   <p class="col-4 text-end"><%= friendly_date_ago(timestamp) %></p>
6 </header>