2022-12-06 22:54:50 +08:00
|
|
|
<template id="protocolActionToolbar">
|
|
|
|
<button id="protocolVersions" class="btn btn-light single-object-action hidden only-active">
|
|
|
|
<%= image_tag 'icon/versions.svg' %>
|
|
|
|
<span class="button-text"><%= t("protocols.index.action_toolbar.versions") %></span>
|
|
|
|
</button>
|
2023-01-25 04:17:50 +08:00
|
|
|
<button id="manageProtocolAccess" class="btn btn-light single-object-action hidden only-active">
|
2022-12-06 22:54:50 +08:00
|
|
|
<i class="fas fa-door-open"></i>
|
|
|
|
<span class="button-text"><%= t("protocols.index.action_toolbar.access") %></span>
|
|
|
|
</button>
|
2023-02-18 16:09:33 +08:00
|
|
|
<button id="duplicateProtocol" class="btn btn-light single-object-action hidden only-active" data-for="copyable">
|
2022-12-06 22:54:50 +08:00
|
|
|
<i class="fas fa-copy"></i>
|
|
|
|
<span class="button-text"><%= t("protocols.index.action_toolbar.duplicate") %></span>
|
|
|
|
</button>
|
2023-02-15 20:48:40 +08:00
|
|
|
<button id="exportProtocol" class="btn btn-light single-object-action hidden only-active" data-url="<%= export_protocols_path %>">
|
2022-12-06 22:54:50 +08:00
|
|
|
<i class="fas fa-download"></i>
|
|
|
|
<span class="button-text"><%= t("protocols.index.action_toolbar.export") %></span>
|
|
|
|
</button>
|
2023-02-09 21:10:07 +08:00
|
|
|
<button id="archiveProtocol" class="btn btn-light multiple-object-action hidden only-active" data-url="<%= archive_protocols_path %>" data-for="archivable">
|
2022-12-06 22:54:50 +08:00
|
|
|
<i class="fas fa-archive"></i>
|
|
|
|
<span class="button-text"><%= t("protocols.index.action_toolbar.archive") %></span>
|
|
|
|
</button>
|
2023-02-17 01:03:11 +08:00
|
|
|
<button id="restoreProtocol" class="btn btn-light multiple-object-action hidden only-archive" data-url="<%= restore_protocols_path %>" data-for="restorable">
|
2022-12-06 22:54:50 +08:00
|
|
|
<i class="fas fa-undo"></i>
|
|
|
|
<span class="button-text"><%= t("protocols.index.action_toolbar.restore") %></span>
|
|
|
|
</button>
|
2023-02-17 01:03:11 +08:00
|
|
|
</template>
|