scinote-web/app/views/label_templates/_index_toolbar.html.erb

15 lines
793 B
Text
Raw Normal View History

<template id="labelTemplatesToolbar">
<% if can_manage_label_templates?(current_team) %>
<button data-url="<%= label_templates_path %>" title="<%= t('label_templates.index.toolbar.new') %>"
class="btn btn-primary auto-shrink-button" id="newLabelTemplate">
2023-06-08 14:33:37 +08:00
<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>