mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-10 09:23:58 +08:00
Fix label template preview for print modal [SCI-10570]
This commit is contained in:
parent
fe6879a0e8
commit
726b96eecb
2 changed files with 3 additions and 2 deletions
|
@ -272,7 +272,7 @@ export default {
|
|||
templateOption(option) {
|
||||
return `
|
||||
<div class="label-template-option" data-toggle="tooltip" data-placement="right" title="${option.params.description}">
|
||||
<img src="${option.params.icon}" style=""></img>
|
||||
${option.params.icon}
|
||||
${option.label}
|
||||
</div>
|
||||
`;
|
||||
|
|
|
@ -7,7 +7,8 @@ module Lists
|
|||
|
||||
attributes :name, :language_type, :urls, :type,
|
||||
:default, :format, :modified_by, :created_by,
|
||||
:created_at, :updated_at, :id, :icon_url, :description
|
||||
:created_at, :updated_at, :id, :icon_url, :description,
|
||||
:width_mm, :height_mm, :unit, :density
|
||||
|
||||
def icon_url
|
||||
ActionController::Base.helpers.image_tag(
|
||||
|
|
Loading…
Reference in a new issue