Skip to content

Commit 7bb68c0

Browse files
committed
Merge pull request #447 from magento-api/MAGETWO-37843-responsive-email-templates-in-blank-theme
[API] Responsive Email Template - Merging outsourced PR 21
2 parents cabd186 + 2489d63 commit 7bb68c0

File tree

309 files changed

+5571
-3605
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

309 files changed

+5571
-3605
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ before_install:
2828
$HOME/.cache/bin/composer self-update; echo '';
2929
else
3030
mkdir -p $HOME/.cache/bin;
31-
curl --connect-timeout 30 -sS https://getcomposer.org/installer \
31+
curl --connect-timeout 30 -sS https://getcomposer.org/installer
3232
| php -- --install-dir $HOME/.cache/bin/ --filename composer;
3333
fi
3434
fi'

app/code/Magento/AdvancedPricingImportExport/i18n/en_US.csv

Whitespace-only changes.

app/code/Magento/Authorization/i18n/en_US.csv

Whitespace-only changes.

app/code/Magento/Backend/etc/adminhtml/system.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,8 +352,9 @@
352352
<resource>Magento_Config::config_admin</resource>
353353
<group id="emails" translate="label" type="text" sortOrder="10" showInDefault="1" showInWebsite="0" showInStore="0">
354354
<label>Admin User Emails</label>
355-
<field id="forgot_email_template" translate="label" type="select" sortOrder="10" showInDefault="1" showInWebsite="0" showInStore="0">
355+
<field id="forgot_email_template" translate="label comment" type="select" sortOrder="10" showInDefault="1" showInWebsite="0" showInStore="0">
356356
<label>Forgot Password Email Template</label>
357+
<comment>Email template chosen based on theme fallback when "Default" option is selected.</comment>
357358
<source_model>Magento\Config\Model\Config\Source\Email\Template</source_model>
358359
</field>
359360
<field id="forgot_email_identity" translate="label" type="select" sortOrder="20" showInDefault="1" showInWebsite="0" showInStore="0">

app/code/Magento/Bundle/Block/Adminhtml/Sales/Order/Items/Renderer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public function truncateString($value, $length = 80, $etc = '...', &$remainder =
3636
* @param \Magento\Framework\Object $item
3737
* @return array|null
3838
*/
39-
public function getChilds($item)
39+
public function getChildren($item)
4040
{
4141
$itemsArray = [];
4242

app/code/Magento/Bundle/Block/Sales/Order/Items/Renderer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ public function getValueHtml($item)
125125
* @param \Magento\Framework\Object $item
126126
* @return array
127127
*/
128-
public function getChilds($item)
128+
public function getChildren($item)
129129
{
130130
$itemsArray = [];
131131

app/code/Magento/Bundle/Model/Sales/Order/Pdf/Items/AbstractItems.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ abstract class AbstractItems extends \Magento\Sales\Model\Order\Pdf\Items\Abstra
1818
* @param \Magento\Framework\Object $item
1919
* @return array
2020
*/
21-
public function getChilds($item)
21+
public function getChildren($item)
2222
{
2323
$itemsArray = [];
2424

app/code/Magento/Bundle/Model/Sales/Order/Pdf/Items/Creditmemo.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public function draw()
6767
$pdf = $this->getPdf();
6868
$page = $this->getPage();
6969

70-
$items = $this->getChilds($item);
70+
$items = $this->getChildren($item);
7171
$prevOptionId = '';
7272
$drawItems = [];
7373
$leftBound = 35;

app/code/Magento/Bundle/Model/Sales/Order/Pdf/Items/Invoice.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public function draw()
6969
$page = $this->getPage();
7070

7171
$this->_setFontRegular();
72-
$items = $this->getChilds($item);
72+
$items = $this->getChildren($item);
7373

7474
$prevOptionId = '';
7575
$drawItems = [];

app/code/Magento/Bundle/Model/Sales/Order/Pdf/Items/Shipment.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public function draw()
6666

6767
$this->_setFontRegular();
6868

69-
$shipItems = $this->getChilds($item);
69+
$shipItems = $this->getChildren($item);
7070
$items = array_merge([$item->getOrderItem()], $item->getOrderItem()->getChildrenItems());
7171

7272
$prevOptionId = '';

0 commit comments

Comments
 (0)