{#** * Copyright since 2007 PrestaShop SA and Contributors * PrestaShop is an International Registered Trademark & Property of PrestaShop SA * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.md. * It is also available through the world-wide-web at this URL: * https://opensource.org/licenses/OSL-3.0 * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to license@prestashop.com so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to https://devdocs.prestashop.com/ for more information. * * @author PrestaShop SA and Contributors * @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) *#}
{% set currentStringFormat = form_name == 'header' ? headerFormats|join(', ') : otherFormats|join(', ') %} {% set currentPreview = form_name == 'header' ? headerLogoPath : form_name == 'email' ? mailLogoPath : invoiceLogoPath %} {% include '@Modules/psxdesign/views/templates/components/text_editor.html.twig' with { fontList: fonts, fontVariants: fontVariants, fontFamily: { id: form_name ~ '_font_family', name: 'font_family', value: logos[form_name].font is defined and logos[form_name].font is not empty ? logos[form_name].font : fonts[0].code, }, fontStyle: { id: form_name ~ '_font_style', name: 'font_style', value: logos[form_name].style is defined and logos[form_name].style is not empty ? logos[form_name].style : 'normal-400', }, fontSize: { id: form_name ~ '_font_size', name: 'font_size', min: 16, max: 100, value: logos[form_name].fontSize is defined and logos[form_name].fontSize is not empty ? logos[form_name].fontSize : 16, }, fontColor: { id: form_name ~ '_font_color', name: 'font_color', value: logos[form_name].color is defined and logos[form_name].color is not empty ? logos[form_name].color : '#000000', }, textArea: { id: form_name ~ '_textarea', name: 'logo_text', ariaLabel: 'Text of your logo'|trans({}, 'Modules.Psxdesign.Admin'), value: logos[form_name].text is defined and logos[form_name].text is not empty ? logos[form_name].text : shopName, multiline: false, required: true, } } %}

{{ 'Always check the final result on your store as it may differ from the preview, depending on your theme.'|trans({}, 'Modules.Psxdesign.Admin') }}