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") %>
|
|
|
|
|
2023-06-21 20:13:20 +08:00
|
|
|
<%= render partial: 'users/settings/sidebar' %>
|
2021-08-02 21:38:37 +08:00
|
|
|
|
|
|
|
<div class="content-pane flexible label-printer-show">
|
|
|
|
<div class="content-header">
|
|
|
|
<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") %>
|
2023-08-01 16:30:57 +08:00
|
|
|
<% elsif @printer_type == 'zebra' %>
|
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" %>
|
2023-08-01 16:30:57 +08:00
|
|
|
<% elsif @printer_type == 'zebra' %>
|
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" %>
|