diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Extended.php b/app/code/Magento/Backend/Block/Widget/Grid/Extended.php index fe01cec33c9c1..20c6f974f2c73 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Extended.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Extended.php @@ -203,7 +203,11 @@ protected function _prepareLayout() $this->setChild( 'reset_filter_button', $this->getLayout()->createBlock('Magento\Backend\Block\Widget\Button')->setData( - ['label' => __('Reset Filter'), 'onclick' => $this->getJsObjectName() . '.resetFilter()'] + [ + 'label' => __('Reset Filter'), + 'onclick' => $this->getJsObjectName() . '.resetFilter()', + 'class' => 'action-reset' + ] ) ); $this->setChild( diff --git a/app/code/Magento/Backend/view/adminhtml/templates/media/uploader.phtml b/app/code/Magento/Backend/view/adminhtml/templates/media/uploader.phtml index 877bdba399883..501591a40b015 100644 --- a/app/code/Magento/Backend/view/adminhtml/templates/media/uploader.phtml +++ b/app/code/Magento/Backend/view/adminhtml/templates/media/uploader.phtml @@ -15,8 +15,8 @@
diff --git a/app/code/Magento/Bundle/view/adminhtml/templates/product/edit/bundle/option/selection.phtml b/app/code/Magento/Bundle/view/adminhtml/templates/product/edit/bundle/option/selection.phtml index 980c542278c63..1fb154b2a48b9 100644 --- a/app/code/Magento/Bundle/view/adminhtml/templates/product/edit/bundle/option/selection.phtml +++ b/app/code/Magento/Bundle/view/adminhtml/templates/product/edit/bundle/option/selection.phtml @@ -33,30 +33,30 @@ - diff --git a/app/code/Magento/Bundle/view/frontend/templates/catalog/product/view/type/bundle/options.phtml b/app/code/Magento/Bundle/view/frontend/templates/catalog/product/view/type/bundle/options.phtml index bf0993ce8ca8a..278c7d501f22d 100644 --- a/app/code/Magento/Bundle/view/frontend/templates/catalog/product/view/type/bundle/options.phtml +++ b/app/code/Magento/Bundle/view/frontend/templates/catalog/product/view/type/bundle/options.phtml @@ -15,19 +15,15 @@ $helper = $this->helper('Magento\Catalog\Helper\Output'); decorateArray($block->getOptions()); ?> isSaleable()):?> -
diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Options/Option.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Options/Option.php index 484472fd3bbaf..088cc75846d5e 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Options/Option.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Options/Option.php @@ -209,11 +209,11 @@ public function getTypeSelectHtml() 'Magento\Framework\View\Element\Html\Select' )->setData( [ - 'id' => $this->getFieldId() . '_<%= data.id %>_type', + 'id' => $this->getFieldId() . '_<%- data.id %>_type', 'class' => 'select select-product-option-type required-option-select', ] )->setName( - $this->getFieldName() . '[<%= data.id %>][type]' + $this->getFieldName() . '[<%- data.id %>][type]' )->setOptions( $this->_optionType->toOptionArray() ); @@ -229,9 +229,9 @@ public function getRequireSelectHtml() $select = $this->getLayout()->createBlock( 'Magento\Framework\View\Element\Html\Select' )->setData( - ['id' => $this->getFieldId() . '_<%= data.id %>_is_require', 'class' => 'select'] + ['id' => $this->getFieldId() . '_<%- data.id %>_is_require', 'class' => 'select'] )->setName( - $this->getFieldName() . '[<%= data.id %>][is_require]' + $this->getFieldName() . '[<%- data.id %>][is_require]' )->setOptions( $this->_configYesNo->toOptionArray() ); diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Options/Type/AbstractType.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Options/Type/AbstractType.php index 95a350a34581c..b4c8d96bbdc11 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Options/Type/AbstractType.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Options/Type/AbstractType.php @@ -50,7 +50,7 @@ protected function _prepareLayout() $this->getNameInLayout() )->setData( [ - 'id' => 'product_option_<%= data.option_id %>_price_type', + 'id' => 'product_option_<%- data.option_id %>_price_type', 'class' => 'select product-option-price-type', ] ) @@ -59,7 +59,7 @@ protected function _prepareLayout() $this->getChildBlock( 'option_price_type' )->setName( - 'product[options][<%= data.option_id %>][price_type]' + 'product[options][<%- data.option_id %>][price_type]' )->setOptions( $this->_optionPrice->toOptionArray() ); diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Options/Type/Select.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Options/Type/Select.php index f8c00955c8537..c91c09dcb9f15 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Options/Type/Select.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Options/Type/Select.php @@ -42,7 +42,7 @@ protected function _prepareLayout() [ 'label' => __('Add New Row'), 'class' => 'add add-select-row', - 'id' => 'product_option_<%= data.option_id %>_add_select_row' + 'id' => 'product_option_<%- data.option_id %>_add_select_row' ] ); @@ -52,7 +52,7 @@ protected function _prepareLayout() [ 'label' => __('Delete Row'), 'class' => 'delete delete-select-row icon-btn', - 'id' => 'product_option_<%= data.id %>_select_<%= data.select_id %>_delete' + 'id' => 'product_option_<%- data.id %>_select_<%- data.select_id %>_delete' ] ); @@ -87,9 +87,9 @@ public function getPriceTypeSelectHtml($extraParams = '') 'option_price_type' )->setData( 'id', - 'product_option_<%= data.id %>_select_<%= data.select_id %>_price_type' + 'product_option_<%- data.id %>_select_<%- data.select_id %>_price_type' )->setName( - 'product[options][<%= data.id %>][values][<%= data.select_id %>][price_type]' + 'product[options][<%- data.id %>][values][<%- data.select_id %>][price_type]' )->setExtraParams($extraParams); return parent::getPriceTypeSelectHtml(); diff --git a/app/code/Magento/Catalog/Block/Adminhtml/Product/Helper/Form/BaseImage.php b/app/code/Magento/Catalog/Block/Adminhtml/Product/Helper/Form/BaseImage.php index 31d3710ebdf2e..e38a5d08f8915 100644 --- a/app/code/Magento/Catalog/Block/Adminhtml/Product/Helper/Form/BaseImage.php +++ b/app/code/Magento/Catalog/Block/Adminhtml/Product/Helper/Form/BaseImage.php @@ -105,9 +105,9 @@ public function getElementHtml() <%= data.label %> + src="<%- data.url %>" + data-position="<%- data.position %>" + alt="<%- data.label %>" />
isRedirectToCartEnabled()) : ?> - diff --git a/app/code/Magento/Catalog/view/frontend/templates/product/list.phtml b/app/code/Magento/Catalog/view/frontend/templates/product/list.phtml index b6a7f7a85fbc4..742b7521914f3 100644 --- a/app/code/Magento/Catalog/view/frontend/templates/product/list.phtml +++ b/app/code/Magento/Catalog/view/frontend/templates/product/list.phtml @@ -133,13 +133,12 @@ $imageBlock = $block->getLayout()->createBlock('Magento\Catalog\Block\Product\I getToolbarHtml() ?> isRedirectToCartEnabled()) : ?> - diff --git a/app/code/Magento/Catalog/view/frontend/templates/product/view/base-image.phtml b/app/code/Magento/Catalog/view/frontend/templates/product/view/base-image.phtml index 4e02dc8aa0c72..5d78983a248ca 100644 --- a/app/code/Magento/Catalog/view/frontend/templates/product/view/base-image.phtml +++ b/app/code/Magento/Catalog/view/frontend/templates/product/view/base-image.phtml @@ -90,31 +90,31 @@ $thumbHeight = $block->getVar("product_page_more_views:height") ?: $thumbWidth; @@ -95,11 +95,11 @@ diff --git a/app/code/Magento/DesignEditor/view/adminhtml/templates/editor/tools/files/content/uploader.phtml b/app/code/Magento/DesignEditor/view/adminhtml/templates/editor/tools/files/content/uploader.phtml index 792be29aa9818..dbda7bb3e0d47 100644 --- a/app/code/Magento/DesignEditor/view/adminhtml/templates/editor/tools/files/content/uploader.phtml +++ b/app/code/Magento/DesignEditor/view/adminhtml/templates/editor/tools/files/content/uploader.phtml @@ -10,15 +10,15 @@
var uploaderTemplate = '
' + - '
' + + '
' + '' + - '<%= data.name %>' + + '<%- data.name %>' + ' ' + - '(<%= data.size %>)' + + '(<%- data.size %>)' + '' + '
' + '
' + @@ -37,13 +37,13 @@ var uploaderTemplate = '
' + '
' + '
' + '
' + - '<%= data.percent %>% <%= data.uploaded %> / <%= data.total %>' + + '<%- data.percent %>% <%- data.uploaded %> / <%- data.total %>' + '
'; var fileListTemplate = '' + - '<%= data.name %>' + + '<%- data.name %>' + ' ' + - '(<%= data.size %>)' + + '(<%- data.size %>)' + ''; window.Downloadable = { diff --git a/app/code/Magento/Downloadable/view/adminhtml/templates/product/edit/downloadable/links.phtml b/app/code/Magento/Downloadable/view/adminhtml/templates/product/edit/downloadable/links.phtml index b110d63d00c79..bf2b72140ba8a 100644 --- a/app/code/Magento/Downloadable/view/adminhtml/templates/product/edit/downloadable/links.phtml +++ b/app/code/Magento/Downloadable/view/adminhtml/templates/product/edit/downloadable/links.phtml @@ -80,29 +80,29 @@ require([ registry.get('downloadable', function (Downloadable) { var linkTemplate = ''+ ''+ - ''+ - ''+ - ''+ - 'getStoreId() ? '' : '' ?>'+ + ''+ + ''+ + ''+ + 'getStoreId() ? '' : '' ?>'+ ''+ getCanReadPrice() !== false) : ?> ''+ - 'getCanEditPrice() === false) : ?> disabled="disabled" /> ' + + 'getCanEditPrice() === false) : ?> disabled="disabled" /> ' + '' + getStoreId() && $block->getIsPriceWebsiteScope()) : ?> - '
getCanEditPrice() === false) : ?> disabled="disabled" /> ' + + '
getCanEditPrice() === false) : ?> disabled="disabled" /> ' + '' + - '' + + '' + getStoreId() && $block->getIsPriceWebsiteScope()) : ?> - '' + + '' + - ''+ - '

/>

'+ + ''+ + '

/>

'+ ''+ - ''+ ''+ ''+ ''+ @@ -111,58 +111,58 @@ require([ ''+ '
'+ '
'+ - ''+ - ''+ - '