2019-06-12 13:19:14 +08:00
|
|
|
<div id="protocols-datatable-spinner">
|
|
|
|
<div class="protocols-datatable">
|
2023-04-13 20:54:03 +08:00
|
|
|
<table id="protocols-table" class="table" style="width: 100%" data-team-id="<%= @current_team.id %>" data-type="<%= @type %>" data-source="<%= datatable_protocols_path(team: @current_team, type: @type) %>">
|
2019-06-12 13:19:14 +08:00
|
|
|
<thead>
|
|
|
|
<tr>
|
2020-10-22 22:37:59 +08:00
|
|
|
<th id="select-all">
|
|
|
|
<div class="sci-checkbox-container">
|
|
|
|
<input name="select_all" type="checkbox" class="sci-checkbox">
|
|
|
|
<span class="sci-checkbox-label"></span>
|
|
|
|
</div>
|
|
|
|
</th>
|
2022-12-09 19:44:41 +08:00
|
|
|
<th id="protocol-name"><%= t("protocols.index.thead.name") %></th>
|
|
|
|
<th id="protocol-id"><%= t("protocols.index.thead.id") %></th>
|
|
|
|
<th id="protocol-versions"><%= t("protocols.index.thead.versions") %></th>
|
|
|
|
<th id="protocol-keywords"><%= t("protocols.index.thead.keywords") %></th>
|
|
|
|
<th id="protocol-nr-of-linked-children"><%= t("protocols.index.thead.nr_of_linked_children") %></th>
|
|
|
|
<th id="protocol-access"><%= t("protocols.index.thead.access") %></th>
|
2023-01-25 04:17:50 +08:00
|
|
|
<th id="protocol-published-by"><%= t("protocols.index.thead.published_by") %></th>
|
|
|
|
<th id="protocol-published-on"><%= t("protocols.index.thead.published_on") %></th>
|
|
|
|
<th id="protocol-updated-at"><%= t("protocols.index.thead.updated_at") %></th>
|
2022-12-09 19:44:41 +08:00
|
|
|
<% if @type == :archived %>
|
|
|
|
<th id="protocol-archived-by"><%= t("protocols.index.thead.archived_by") %></th>
|
|
|
|
<th id="protocol-archived-on"><%= t("protocols.index.thead.archived_on") %></th>
|
2019-06-12 13:19:14 +08:00
|
|
|
<% end %>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody></tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|