Sha256: 50470eceb8af9acecb9c442f9b225edad0b0f7bed63d89307f827e0cd9449b8b

Contents?: true

Size: 1.27 KB

Versions: 2

Compression:

Stored size: 1.27 KB

Contents

<div class="panel panel-default cdb_panel" id="tasks-container">
  <div class="panel-heading">
    <h3 class="panel-title adjusted-panel-title">
      <a data-toggle="collapse" data-parent="#accordion" href="#tasksCollapse">
        Tasks
      </a>
    </h3>
  </div>

  <div id="tasksCollapse" class="panel-collapse collapse in">
    <div class="panel-body">
      <div class="table-responsive div-table-viz">
        <table class="table table-hover data-table" id="task_statuses">
          <thead>
          <tr>
            <th class="not-displayed"></th>
            <th>Task</th>
            <th>Availability Day</th>
            <th>Completed At</th>
          </tr>
          </thead>
          <tbody>
            <%= render partial: "think_feel_do_engine/task_statuses/task_status", collection: view_membership(@participant, @group).try(:task_statuses).try(:includes, { task: :bit_core_content_module }) %>
          </tbody>
        </table>
      </div>
    </div>
  </div>
</div>

<script type="text/javascript">
  $(function() {
    return $('#task_statuses').dataTable({
      order: [[0, 'asc']],
      columnDefs: [
        {
          targets: [0],
          visible: false
        },
        {
          targets: [3],
          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/_tasks_table.html.erb
think_feel_do_engine-3.22.8 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_tasks_table.html.erb