Sha256: e66e8a9e16d20cd13a28cb05b95da858262f08ddb3fcfb183afe68d4b125b6b9

Contents?: true

Size: 1.24 KB

Versions: 68

Compression:

Stored size: 1.24 KB

Contents

<div class="panel panel-default cdb_panel" id="messages-container">
  <div class="panel-heading">
    <h3 class="panel-title adjusted-panel-title">
      <a data-toggle="collapse" data-parent="#accordion" href="#messagesCollapse">
        Messages
      </a>
      <span class="text-primary"><%= link_to "View", coach_group_messages_path(group_id: @group.id) %></span>
    </h3>
  </div>

  <div id="messagesCollapse" class="panel-collapse collapse in">
    <div class="panel-body">
      <div class="table-responsive div-table-viz">
        <table class="table table-hover data-table" id="messages">
          <thead>
          <tr>
            <th class="not-displayed"></th>
            <th>Message</th>
            <th>Date</th>
          </tr>
          </thead>
          <tbody>
          <%= render partial: "think_feel_do_engine/messages/message", collection: @participant.sent_messages %>
          </tbody>
        </table>
      </div>
    </div>
  </div>
</div>

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

Version data entries

68 entries across 68 versions & 1 rubygems

Version Path
think_feel_do_engine-3.19.2 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_messages_table.html.erb
think_feel_do_engine-3.19.1 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_messages_table.html.erb
think_feel_do_engine-3.19.0 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_messages_table.html.erb
think_feel_do_engine-3.18.0 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_messages_table.html.erb
think_feel_do_engine-3.17.2 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_messages_table.html.erb
think_feel_do_engine-3.17.1 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_messages_table.html.erb
think_feel_do_engine-3.17.0 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_messages_table.html.erb
think_feel_do_engine-3.16.3 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_messages_table.html.erb
think_feel_do_engine-3.16.2 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_messages_table.html.erb
think_feel_do_engine-3.16.1 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_messages_table.html.erb
think_feel_do_engine-3.15.7 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_messages_table.html.erb
think_feel_do_engine-3.16.0 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_messages_table.html.erb
think_feel_do_engine-3.15.6 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_messages_table.html.erb
think_feel_do_engine-3.15.5 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_messages_table.html.erb
think_feel_do_engine-3.15.4 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_messages_table.html.erb
think_feel_do_engine-3.15.3 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_messages_table.html.erb
think_feel_do_engine-3.15.2 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_messages_table.html.erb
think_feel_do_engine-3.15.1 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_messages_table.html.erb
think_feel_do_engine-3.15.0 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_messages_table.html.erb
think_feel_do_engine-3.14.9 app/views/think_feel_do_engine/coach/patient_dashboards/tables/_messages_table.html.erb