Sha256: 6b455dcdc0a31761242df2636813d7493130b38e12b3be9e84a0f84fbe8b7ad5
Contents?: true
Size: 863 Bytes
Versions: 2
Compression:
Stored size: 863 Bytes
Contents
<table class="index"> <colgroup> <col style="width: 18%" /> <col style="width: 15%" /> <col style="width: 20%" /> <col style="width: 47%" /> </colgroup> <thead> <tr> <th><%= "#{t('spree.date')}/#{t('spree.time')}" %></th> <th><%= Spree.t(:type) %></th> <th><%= Spree.t(:commenter) %></th> <th><%= Spree.t(:comment) %></th> </tr> </thead> <tbody> <% commentable.comments.reverse.each_with_index do |comment, index| %> <tr class="<%= cycle('odd', 'even')%>"> <td class='align-center'><%= pretty_time(comment.created_at) %></td> <td class='align-center'><%= comment.comment_type.try(:name) || Spree.t(:none) %></td> <td class='align-center'><%= comment.user.try(:email) %></td> <td><%= comment.comment.html_safe %></td> </tr> <% end %> </tbody> </table>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
solidus_comments-1.0.1 | app/views/spree/admin/shared/_comment_list.html.erb |
solidus_comments-1.0.0 | app/views/spree/admin/shared/_comment_list.html.erb |