2021-08-02 21:38:37 +08:00
|
|
|
<% provide(:head_title, t('users.settings.account.addons.head_title')) %>
|
|
|
|
<% provide(:container_class, "no-second-nav-container") %>
|
|
|
|
|
|
|
|
<%= render partial: 'users/settings/sidebar.html.erb' %>
|
|
|
|
|
|
|
|
<div class="content-pane flexible label-printer-show">
|
|
|
|
<div class="content-header">
|
|
|
|
<div id="breadcrumbsWrapper">
|
|
|
|
<div class="breadcrumbs-container">
|
|
|
|
<%= render partial: 'shared/breadcrumbs', locals: {
|
|
|
|
links: [{label: 'Add-ons', url: addons_path}]
|
|
|
|
} %>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="title-row">
|
|
|
|
<h1 class="printer-title">
|
2022-08-04 17:14:35 +08:00
|
|
|
<% if @printer_type == 'fluics' %>
|
|
|
|
<%= t("users.settings.account.label_printer.fluics_printer") %>
|
2022-10-25 19:07:45 +08:00
|
|
|
<% elsif @printer_type == 'zebra' && LabelPrinter.zebra_print_enabled? %>
|
2022-08-04 17:14:35 +08:00
|
|
|
<%= t("users.settings.account.label_printer.zebra_printer") %>
|
|
|
|
<% end %>
|
2021-08-02 21:38:37 +08:00
|
|
|
</h1>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2022-08-04 17:14:35 +08:00
|
|
|
<% if @printer_type == 'fluics' %>
|
|
|
|
<%= render "fluics_settings" %>
|
2022-10-25 19:07:45 +08:00
|
|
|
<% elsif @printer_type == 'zebra' && LabelPrinter.zebra_print_enabled? %>
|
2022-08-04 17:14:35 +08:00
|
|
|
<%= render "zebra_settings" %>
|
2021-08-02 21:38:37 +08:00
|
|
|
<% end %>
|
|
|
|
</div>
|
|
|
|
<%= javascript_include_tag "label_printers/index" %>
|