Skip to content

Commit a68aa65

Browse files
committed
Merge branch 'github-2.3-develop' into MAGETWO-70681
2 parents c3d9b40 + 605ae1e commit a68aa65

File tree

9 files changed

+21
-19
lines changed

9 files changed

+21
-19
lines changed

app/code/Magento/Catalog/view/adminhtml/ui_component/product_listing.xml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -192,13 +192,6 @@
192192
<label translate="true">Websites</label>
193193
</settings>
194194
</column>
195-
<column name="cost" class="Magento\Catalog\Ui\Component\Listing\Columns\Price" sortOrder="120">
196-
<settings>
197-
<addField>true</addField>
198-
<filter>textRange</filter>
199-
<label translate="true">Cost</label>
200-
</settings>
201-
</column>
202195
<actionsColumn name="actions" class="Magento\Catalog\Ui\Component\Listing\Columns\ProductActions" sortOrder="200">
203196
<settings>
204197
<indexField>entity_id</indexField>

app/code/Magento/Checkout/Test/Mftf/Section/CheckoutSuccessMainSection.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<element name="orderLink" type="text" selector="a[href*=order_id].order-number" timeout="30"/>
1717
<element name="orderNumberText" type="text" selector=".checkout-success > p:nth-child(1)"/>
1818
<element name="continueShoppingButton" type="button" selector=".action.primary.continue" timeout="30"/>
19-
<element name="createAnAccount" type="button" selector="input[value='Create an Account']" timeout="30"/>
19+
<element name="createAnAccount" type="button" selector="[data-bind*=&quot;i18n: 'Create an Account'&quot;]" timeout="30"/>
2020
<element name="printLink" type="button" selector=".print" timeout="30"/>
2121
</section>
2222
</sections>

app/code/Magento/Checkout/Test/Mftf/Section/CheckoutSuccessRegisterSection.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<section name="CheckoutSuccessRegisterSection">
1212
<element name="registerMessage" type="text" selector="#registration p:nth-child(1)"/>
1313
<element name="customerEmail" type="text" selector="#registration p:nth-child(2)"/>
14-
<element name="createAccountButton" type="button" selector="#registration form input[type='submit']" timeout="30"/>
14+
<element name="createAccountButton" type="button" selector="[data-bind*=&quot;i18n: 'Create an Account'&quot;]" timeout="30"/>
1515
<element name="orderNumber" type="text" selector="//p[text()='Your order # is: ']//span"/>
1616
</section>
1717
</sections>

app/code/Magento/Checkout/view/frontend/templates/cart/form.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
method="post"
1515
id="form-validate"
1616
data-mage-init='{"Magento_Checkout/js/action/update-shopping-cart":
17-
{"validationURL" : "/checkout/cart/updateItemQty",
17+
{"validationURL" : "<?= /* @escapeNotVerified */ $block->getUrl('checkout/cart/updateItemQty') ?>",
1818
"updateCartActionContainer": "#update_cart_action_container"}
1919
}'
2020
class="form form-cart">

app/code/Magento/Checkout/view/frontend/web/template/registration.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
<!-- ko if: isFormVisible -->
1212
<p data-bind="i18n: 'You can track your order status by creating an account.'"></p>
1313
<p><span data-bind="i18n: 'Email Address'"></span>: <span data-bind="text: getEmailAddress()"></span></p>
14-
<form method="get" data-bind="attr: { action: getUrl() }">
15-
<input type="submit" class="action primary" data-bind="value: $t('Create an Account')" />
16-
</form>
14+
<a class="action primary" data-bind="attr: { href: getUrl() }">
15+
<span data-bind="i18n: 'Create an Account'" />
16+
</a>
1717
<!--/ko-->
1818
</div>

app/code/Magento/Sales/view/frontend/templates/email/shipment/track.phtml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@
99
?>
1010
<?php $_shipment = $block->getShipment() ?>
1111
<?php $_order = $block->getOrder() ?>
12+
<?php if ($_shipment && $_order): ?>
1213
<?php $trackCollection = $_order->getTracksCollection($_shipment->getId()) ?>
13-
<?php if ($_shipment && $_order && $trackCollection): ?>
14+
<?php if ($trackCollection): ?>
1415
<br />
1516
<table class="shipment-track">
1617
<thead>
@@ -29,3 +30,4 @@
2930
</tbody>
3031
</table>
3132
<?php endif; ?>
33+
<?php endif; ?>

app/code/Magento/Tax/Block/Adminhtml/Rate/Form.php

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
use Magento\Tax\Controller\RegistryConstants;
1616

1717
/**
18+
* Tax rate form.
19+
*
1820
* @api
1921
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
2022
* @since 100.0.2
@@ -108,7 +110,7 @@ public function __construct(
108110
}
109111

110112
/**
111-
* @return void
113+
* @inheritdoc
112114
*/
113115
protected function _construct()
114116
{
@@ -117,6 +119,8 @@ protected function _construct()
117119
}
118120

119121
/**
122+
* Prepare form before rendering HTML.
123+
*
120124
* @return $this
121125
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
122126
* @SuppressWarnings(PHPMD.NPathComplexity)
@@ -130,8 +134,9 @@ protected function _prepareForm()
130134
if ($taxRateId) {
131135
$taxRateDataObject = $this->_taxRateRepository->get($taxRateId);
132136
}
137+
// phpcs:ignore Magento2.CodeAnalysis.EmptyBlock
133138
} catch (NoSuchEntityException $e) {
134-
/* tax rate not found */
139+
//tax rate not found//
135140
}
136141

137142
$sessionFormValues = (array)$this->_coreRegistry->registry(RegistryConstants::CURRENT_TAX_RATE_FORM_DATA);
@@ -176,7 +181,10 @@ protected function _prepareForm()
176181
}
177182

178183
$legend = $this->getShowLegend() ? __('Tax Rate Information') : '';
179-
$fieldset = $form->addFieldset('base_fieldset', ['legend' => $legend, 'class' => 'form-inline']);
184+
$fieldset = $form->addFieldset(
185+
'base_fieldset',
186+
['legend' => $legend, 'class' => 'admin__scope-old form-inline']
187+
);
180188

181189
if (isset($formData['tax_calculation_rate_id']) && $formData['tax_calculation_rate_id'] > 0) {
182190
$fieldset->addField(

app/design/adminhtml/Magento/backend/web/css/source/forms/_controls.less

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,6 @@ option:empty {
202202

203203
.admin__control-textarea {
204204
&:extend(.abs-form-control-pattern all);
205-
height: 8.48rem;
206205
line-height: 1.18;
207206
padding-top: .8rem;
208207
resize: vertical;

dev/tests/functional/tests/app/Magento/Checkout/Test/Block/Onepage/Registration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class Registration extends Block
1919
*
2020
* @var string
2121
*/
22-
protected $createAccountButton = 'input[data-bind*="Create an Account"]';
22+
protected $createAccountButton = '[data-bind*="i18n: \'Create an Account\'"]';
2323

2424
/**
2525
* Click 'Create an Account' button and wait until button will be not visible.

0 commit comments

Comments
 (0)