Sha256: 1013e25555846762ba70cd555d9f750ebf769607fa6db3daad98dbec94ee8cd8
Contents?: true
Size: 1.79 KB
Versions: 44
Compression:
Stored size: 1.79 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.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
44 entries across 44 versions & 1 rubygems