Sha256: 95f0c1a415081997364547c7241dd1ca769b3b87bce3d2fc1b6485d291ac15d2

Contents?: true

Size: 1.44 KB

Versions: 16

Compression:

Stored size: 1.44 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>Item Liked</th>
            <th>Created At</th>
            <th>Week</th>
          </tr>
          </thead>
          <tbody>

          <% membership.likes.each do |like| %>
            <tr>
              <td class="not-displayed">
                <%= like.created_at.to_i %>
              </td>
              <td><%= comment_item_description(like) %> </td>
              <td><%= like.created_at.to_s(:standard) %></td>
              <td><%= week_in_study(like.created_at, membership) %></td>
            </tr>
          <% end %>

          </tbody>
        </table>
      </div>
    </div>
  </div>
</div>
<script>
  $(function () {
    return $('#likes_data').dataTable({
      order: [[0, "desc"]],
      columnDefs: [
        {
          targets: [0],
          visible: false
        },
        {
          targets: [2],
          iDataSort: [0]
        }
      ]
    });
  });
</script>

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
social_networking-0.13.3 app/views/social_networking/coach/patient_dashboards/tables/_likes.html.erb
social_networking-0.13.2 app/views/social_networking/coach/patient_dashboards/tables/_likes.html.erb
social_networking-0.13.1 app/views/social_networking/coach/patient_dashboards/tables/_likes.html.erb
social_networking-0.13.0 app/views/social_networking/coach/patient_dashboards/tables/_likes.html.erb
social_networking-0.12.0 app/views/social_networking/coach/patient_dashboards/tables/_likes.html.erb
social_networking-0.11.8 app/views/social_networking/coach/patient_dashboards/tables/_likes.html.erb
social_networking-0.11.7 app/views/social_networking/coach/patient_dashboards/tables/_likes.html.erb
social_networking-0.11.6 app/views/social_networking/coach/patient_dashboards/tables/_likes.html.erb
social_networking-0.11.5 app/views/social_networking/coach/patient_dashboards/tables/_likes.html.erb
social_networking-0.11.4 app/views/social_networking/coach/patient_dashboards/tables/_likes.html.erb
social_networking-0.11.3 app/views/social_networking/coach/patient_dashboards/tables/_likes.html.erb
social_networking-0.11.2 app/views/social_networking/coach/patient_dashboards/tables/_likes.html.erb
social_networking-0.11.1 app/views/social_networking/coach/patient_dashboards/tables/_likes.html.erb
social_networking-0.11.0 app/views/social_networking/coach/patient_dashboards/tables/_likes.html.erb
social_networking-0.10.0 app/views/social_networking/coach/patient_dashboards/tables/_likes.html.erb
social_networking-0.9.3 app/views/social_networking/coach/patient_dashboards/tables/_likes.html.erb