]> git.openstreetmap.org Git - rails.git/blob - app/views/changesets/_heading.html.erb
Truncate descriptions horizontally in changeset lists
[rails.git] / app / views / changesets / _heading.html.erb
1 <% title = changeset.tags["comment"].to_s.presence || t(".title", :id => changeset.id) -%>
2 <div class='mb-3'>
3   <div class="row">
4     <div class="col-auto">
5       <%= user_thumbnail changeset.user %>
6     </div>
7     <div class="col">
8       <h2><%= link_to title, changeset %></h2>
9     </div>
10   </div>
11
12   <small class='text-muted'>
13     <%= t(".created_by_html", :link_user => link_to(changeset.user.display_name, changeset.user), :created => l(changeset.created_at, :format => :blog)) %>
14   </small>
15 </div>