mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-16 22:25:30 +08:00
14 lines
801 B
Text
14 lines
801 B
Text
<template id="labelTemplatesToolbar">
|
|
<% if can_manage_label_templates?(current_team) %>
|
|
<button data-url="<%= label_templates_path %>" title="<%= t('label_templates.index.toolbar.new_tooltip') %>"
|
|
class="btn btn-primary auto-shrink-button" id="newLabelTemplate">
|
|
<i class="sn-icon sn-icon-new-task"></i>
|
|
<span class="button-text"><%= t('label_templates.index.toolbar.new') %></span>
|
|
</button>
|
|
<button title="<%= t('label_templates.index.toolbar.update_fluics_labels') %>"
|
|
class="btn btn-light" id="syncFluicsTemplates" data-url="<%= sync_fluics_templates_label_templates_path %>">
|
|
<i class="fas fa-sync"></i>
|
|
<span class="button-text"><%= t('label_templates.index.toolbar.update_fluics_labels') %></span>
|
|
</button>
|
|
<% end %>
|
|
</template>
|