mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-17 14:46:00 +08:00
0493d6f31d
* Add preview label at open modal [SCI-7313] * Add density and unit to the label template [SCI-7313]
14 lines
324 B
Ruby
14 lines
324 B
Ruby
# frozen_string_literal: true
|
|
|
|
class ZebraLabelTemplate < LabelTemplate
|
|
def self.default
|
|
ZebraLabelTemplate.new(
|
|
name: I18n.t('label_templates.default_zebra_name'),
|
|
width_mm: 25.4,
|
|
height_mm: 12.7,
|
|
content: Extends::DEFAULT_LABEL_TEMPLATE[:zpl],
|
|
unit: 0,
|
|
density: 8
|
|
)
|
|
end
|
|
end
|