Sha256: 7ffb997fd57664c40c6b8283f528a5ba98f25625c179ab72cc0dcbe72b1cc8f2
Contents?: true
Size: 1.56 KB
Versions: 16
Compression:
Stored size: 1.56 KB
Contents
<div class="panel panel-default cdb_panel" id="comments-container"> <div class="panel-heading"> <h3 class="panel-title adjusted-panel-title"> <a data-toggle="collapse" data-parent="#accordion" href="#commentsCollapse"> Comments </a> </h3> </div> <div id="commentsCollapse" class="panel-collapse collapse in"> <div class="panel-body"> <div class="table-responsive div-table-viz"> <table class="table table-hover data-table" id="comments_data"> <thead> <tr> <th class="not-displayed"></th> <th>Comment</th> <th>Commented On</th> <th>Created At</th> <th>Week</th> </tr> </thead> <tbody> <% membership.comments.each do |comment| %> <tr> <td class="not-displayed"> <%= comment.created_at.to_i %> </td> <td><%= comment.text %></td> <td><%= comment_item_description(comment) %> </td> <td><%= comment.created_at.to_s(:standard) %></td> <td><%= week_in_study(comment.created_at, membership) %></td> </tr> <% end %> </tbody> </table> </div> </div> </div> </div> <script> $(function () { return $('#comments_data').dataTable({ order: [[0, "desc"]], columnDefs: [ { targets: [0], visible: false }, { targets: [4], iDataSort: [0] } ] }); }); </script>
Version data entries
16 entries across 16 versions & 1 rubygems