mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-16 06:06:56 +08:00
b58e3cd4d8
* Add zebra settings screen [SCI-7016] * Fix hound [SCI-7016]
32 lines
1.1 KiB
Text
32 lines
1.1 KiB
Text
<% 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">
|
|
<% if @printer_type == 'fluics' %>
|
|
<%= t("users.settings.account.label_printer.fluics_printer") %>
|
|
<% elsif @printer_type == 'zebra' && Rails.configuration.x.zebra_print_enabled %>
|
|
<%= t("users.settings.account.label_printer.zebra_printer") %>
|
|
<% end %>
|
|
</h1>
|
|
</div>
|
|
</div>
|
|
|
|
<% if @printer_type == 'fluics' %>
|
|
<%= render "fluics_settings" %>
|
|
<% elsif @printer_type == 'zebra' && Rails.configuration.x.zebra_print_enabled %>
|
|
<%= render "zebra_settings" %>
|
|
<% end %>
|
|
</div>
|
|
<%= javascript_include_tag "label_printers/index" %>
|