Sha256: 5a1aaad4d3b7d57bbe63903905cef559e10d0f152acc3aa132f8e759720e56f9

Contents?: true

Size: 1.37 KB

Versions: 2

Compression:

Stored size: 1.37 KB

Contents

<div class="panel panel-default cdb_panel" id="media-access-container">
  <div class="panel-heading">
    <h3 class="panel-title adjusted-panel-title">
      <a data-toggle="collapse" data-parent="#accordion" href="#mediaAccessCollapse">
        Audio Access
      </a>
    </h3>
  </div>

  <div id="mediaAccessCollapse" class="panel-collapse collapse in">
    <div class="panel-body">
      <div class="table-responsive div-table-viz">
        <table class="table table-hover data-table" id="access_data">
          <thead>
            <tr>
              <th class="not-displayed"></th>
              <th>Title</th>
              <th>Availability Day</th>
              <th>Started At</th>
              <th>Completed At</th>
              <th>Duration</th>
            </tr>
          </thead>
          <tbody>
            <%= render partial: "think_feel_do_engine/media_access_events/access_data", collection: @participant.media_access_events.includes(slide: { slideshow: :content_provider }), as: :event %>
          </tbody>
        </table>
      </div>
    </div>
  </div>
</div>

<script type="text/javascript">
  $(function() {
    return $('#access_data').dataTable({
      order: [[0, 'desc']],
      columnDefs: [
        {
          targets: [0],
          visible: false
        },
        {
          targets: [2],
          orderData: [0]
        }
      ]
    });
  });
</script>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
think_feel_do_engine-3.22.9 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_audio_access_table.html.erb
think_feel_do_engine-3.22.8 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_audio_access_table.html.erb