Sha256: 1512468f139cea22e164ee55b715aebc272419828e647fa92569c01afd54258b
Contents?: true
Size: 1.8 KB
Versions: 24
Compression:
Stored size: 1.8 KB
Contents
<div class="panel panel-default cdb_panel" id="likes-container"> <div class="panel-heading"> <h3 class="panel-title adjusted-panel-title"> <a data-toggle="collapse" data-parent="#accordion" href="#likesCollapse"> Likes </a> </h3> </div> <div id="likesCollapse" class="panel-collapse collapse in"> <div class="panel-body"> <div class="table-responsive div-table-viz"> <table class="table table-hover data-table" id="likes_data"> <thead> <tr> <th class="not-displayed"></th> <th>Display Name</th> <th>Item Type</th> <th>Item Description</th> <th>Created At</th> <th>Week in Study</th> </tr> </thead> <tbody> <% group.non_moderator_memberships.includes(:participant).each do |membership| %> <% membership_likes(membership).each do |like| %> <tr> <td class="not-displayed"> <%= like.created_at ? like.created_at.to_i : 0 %> </td> <td><%= membership.participant.display_name %></td> <td><%= like.item_type %></td> <td><%= like.item_description %></td> <td><%= like.created_at ? like.created_at.to_s(:standard) : "---" %></td> <td><%= week_in_study(like.created_at, membership) %></td> </tr> <% end %> <% end %> </tbody> </table> </div> </div> </div> </div> <script> $(function () { return $('#likes_data').dataTable({ order: [[0, "desc"]], columnDefs: [ { targets: [0], visible: false }, { targets: [4], orderData: [0] } ] }); }); </script>
Version data entries
24 entries across 24 versions & 1 rubygems