1 <turbo-frame id="pagination" target="_top" data-turbo="false">
2 <%= render "shared/pagination",
3 :newer_id => @newer_comments_id,
4 :older_id => @older_comments_id %>
6 <table class="table table-striped" width="100%">
9 <th width="25%"><%= t ".changeset" %></th>
10 <th width="25%"><%= t ".when" %></th>
11 <th width="50%"><%= t ".comment" %></th>
14 <% @comments.each do |comment| -%>
16 <td width="25%" class="<%= "text-muted" unless comment.visible? %>"><%= link_to comment.changeset.id, changeset_path(comment.changeset) %></td>
17 <td width="25%" class="<%= "text-muted" unless comment.visible? %>"><span title="<%= l comment.created_at, :format => :friendly %>"><%= time_ago_in_words(comment.created_at, :scope => :"datetime.distance_in_words_ago") %></span></td>
18 <td width="50%" class="richtext text-break<%= " text-muted" unless comment.visible? %>"><%= comment.body.to_html %></td>
23 <%= render "shared/pagination",
24 :newer_id => @newer_comments_id,
25 :older_id => @older_comments_id %>