Skip to content

Commit

Permalink
🔃 [EngCom] Public Pull Requests - 2.1-develop
Browse files Browse the repository at this point in the history
Accepted Public Pull Requests:
 - #16760: [Backport] Declare module namespace before template path in Magento_Sales and Magento_Paypal (by @mageprince)
 - #16759: [Backport] Declare module namespace before template path in Magento_Theme,  Magento_Newsletter and Magento_Tax (by @mageprince)
 - #16550: [Backport #16458] Add missing showInStore attributes (by @aschrammel)
  • Loading branch information
Stanislav Idolov authored Jul 13, 2018
2 parents 756dc8c + 1a5bce3 commit 16839c0
Show file tree
Hide file tree
Showing 55 changed files with 61 additions and 61 deletions.
14 changes: 7 additions & 7 deletions app/code/Magento/Braintree/etc/adminhtml/system.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
<comment>http://docs.magento.com/m2/ce/user_guide/payment/braintree.html</comment>
<frontend_model>Magento\Paypal\Block\Adminhtml\System\Config\Fieldset\Hint</frontend_model>
</group>
<group id="braintree_required" translate="label" showInDefault="1" showInWebsite="1" sortOrder="5">
<group id="braintree_required" translate="label" showInDefault="1" showInWebsite="1" showInStore="1" sortOrder="5">
<comment><![CDATA[<a href="https://www.braintreegateway.com/login" target="_blank">Click here to login to your existing Braintree account</a>. Or to setup a new account and accept payments on your website, <a href="https://apply.braintreegateway.com/signup/us" target="_blank">click here to signup for a Braintree account</a>.<br><br>Powered by <a href="https://www.braintreepayments.com/features/hosted-fields" target="_blank">Braintree v.zero with Hosted Fields</a> latest technology. Hosted Fields are small, transparent iframes that replace the sensitive credit card inputs in your checkout flow - helping you meet the latest data security requirements while ensuring your customization doesn't suffer. <a href="https://www.braintreepayments.com/features/hosted-fields" target="_blank">Find out more</a>.]]></comment>
<label>Basic Braintree Settings</label>
<attribute type="expanded">1</attribute>
Expand Down Expand Up @@ -78,7 +78,7 @@
<backend_model>Magento\Config\Model\Config\Backend\Encrypted</backend_model>
</field>
</group>
<group id="braintree_advanced" translate="label" showInDefault="1" showInWebsite="1" sortOrder="20">
<group id="braintree_advanced" translate="label" showInDefault="1" showInWebsite="1" showInStore="0" sortOrder="20">
<label>Advanced Braintree Settings</label>
<frontend_model>Magento\Config\Block\System\Config\Form\Fieldset</frontend_model>
<field id="braintree_cc_vault_title" translate="label" type="text" sortOrder="20" showInDefault="1" showInWebsite="1" showInStore="0">
Expand Down Expand Up @@ -126,7 +126,7 @@
<config_path>payment/braintree/sort_order</config_path>
</field>
</group>
<group id="braintree_country_specific" translate="label" showInDefault="1" showInWebsite="1" sortOrder="30">
<group id="braintree_country_specific" translate="label" showInDefault="1" showInWebsite="1" showInStore="0" sortOrder="30">
<label>Country Specific Settings</label>
<frontend_model>Magento\Config\Block\System\Config\Form\Fieldset</frontend_model>
<field id="allowspecific" translate="label" type="allowspecific" sortOrder="200" showInDefault="1" showInWebsite="1" showInStore="0">
Expand All @@ -147,7 +147,7 @@
<config_path>payment/braintree/countrycreditcard</config_path>
</field>
</group>
<group id="braintree_paypal" translate="label" showInDefault="1" showInWebsite="1" sortOrder="40">
<group id="braintree_paypal" translate="label" showInDefault="1" showInWebsite="1" showInStore="1" sortOrder="40">
<label>PayPal through Braintree</label>
<frontend_model>Magento\Config\Block\System\Config\Form\Fieldset</frontend_model>
<field id="title" translate="label" type="text" sortOrder="20" showInDefault="1" showInWebsite="1" showInStore="1">
Expand Down Expand Up @@ -216,7 +216,7 @@
<config_path>payment/braintree_paypal/skip_order_review</config_path>
</field>
</group>
<group id="braintree_3dsecure" translate="label" showInDefault="1" showInWebsite="1" sortOrder="41">
<group id="braintree_3dsecure" translate="label" showInDefault="1" showInWebsite="1" showInStore="0" sortOrder="41">
<label>3D Secure Verification Settings</label>
<frontend_model>Magento\Config\Block\System\Config\Form\Fieldset</frontend_model>
<field id="verify_3dsecure" translate="label" type="select" sortOrder="150" showInDefault="1" showInWebsite="1" showInStore="0">
Expand All @@ -240,7 +240,7 @@
<config_path>payment/braintree/verify_specific_countries</config_path>
</field>
</group>
<group id="braintree_dynamic_descriptor" translate="label" showInDefault="1" showInWebsite="1" sortOrder="50">
<group id="braintree_dynamic_descriptor" translate="label" showInDefault="1" showInWebsite="1" showInStore="1" sortOrder="50">
<label>Dynamic Descriptors</label>
<comment><![CDATA[Dynamic descriptors are sent on a per-transaction basis and define what will appear on your customers credit card statements for a specific purchase.
The clearer the description of your product, the less likely customers will issue chargebacks due to confusion or non-recognition.
Expand Down Expand Up @@ -274,4 +274,4 @@
</group>
</section>
</system>
</config>
</config>
2 changes: 1 addition & 1 deletion app/code/Magento/Newsletter/Block/Adminhtml/Problem.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class Problem extends \Magento\Backend\Block\Template
/**
* @var string
*/
protected $_template = 'problem/list.phtml';
protected $_template = 'Magento_Newsletter::problem/list.phtml';

/**
* @var \Magento\Newsletter\Model\ResourceModel\Problem\Collection
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/Newsletter/Block/Adminhtml/Queue/Edit.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class Edit extends \Magento\Backend\Block\Template
/**
* @var string
*/
protected $_template = 'queue/edit.phtml';
protected $_template = 'Magento_Newsletter::queue/edit.phtml';

/**
* Core registry
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/Newsletter/Block/Adminhtml/Subscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class Subscriber extends \Magento\Backend\Block\Template
/**
* @var string
*/
protected $_template = 'subscriber/list.phtml';
protected $_template = 'Magento_Newsletter::subscriber/list.phtml';

/**
* @var \Magento\Newsletter\Model\ResourceModel\Queue\CollectionFactory
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/Newsletter/Block/Adminhtml/Template.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class Template extends \Magento\Backend\Block\Template
/**
* @var string
*/
protected $_template = 'template/list.phtml';
protected $_template = 'Magento_Newsletter::template/list.phtml';

/**
* @return $this
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ class Form extends \Magento\Backend\Block\Template
/**
* @var string
*/
protected $_template = 'billing/agreement/view/form.phtml';
protected $_template = 'Magento_Paypal::billing/agreement/view/form.phtml';
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class Info extends \Magento\Backend\Block\Template implements \Magento\Backend\B
/**
* @var string
*/
protected $_template = 'billing/agreement/view/tab/info.phtml';
protected $_template = 'Magento_Paypal::billing/agreement/view/tab/info.phtml';

/**
* Core registry
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ class Advanced extends \Magento\Paypal\Block\Adminhtml\System\Config\Payflowlink
*
* @var string
*/
protected $_template = 'system/config/payflowlink/advanced.phtml';
protected $_template = 'Magento_Paypal::system/config/payflowlink/advanced.phtml';
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class Info extends \Magento\Config\Block\System\Config\Form\Field
*
* @var string
*/
protected $_template = 'system/config/payflowlink/info.phtml';
protected $_template = 'Magento_Paypal::system/config/payflowlink/info.phtml';

/**
* Render fieldset html
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/Paypal/Block/Hosted/Pro/Form.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ class Form extends \Magento\Payment\Block\Form
/**
* @var string
*/
protected $_template = 'hss/info.phtml';
protected $_template = 'Magento_Paypal::hss/info.phtml';
}
2 changes: 1 addition & 1 deletion app/code/Magento/Paypal/Block/Iframe.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class Iframe extends \Magento\Payment\Block\Form
/**
* @var string
*/
protected $_template = 'hss/js.phtml';
protected $_template = 'Magento_Paypal::hss/js.phtml';

/**
* @var \Magento\Sales\Model\OrderFactory
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/Paypal/Block/Payflow/Advanced/Form.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class Form extends \Magento\Paypal\Block\Payflow\Link\Form
/**
* @var string
*/
protected $_template = 'payflowadvanced/info.phtml';
protected $_template = 'Magento_Paypal::payflowadvanced/info.phtml';

/**
* Get frame action URL
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/Paypal/Block/Payflow/Link/Form.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class Form extends \Magento\Payment\Block\Form
/**
* @var string
*/
protected $_template = 'payflowlink/info.phtml';
protected $_template = 'Magento_Paypal::payflowlink/info.phtml';

/**
* Get frame action URL
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class Viewed extends \Magento\Backend\Block\Widget\Grid\Container
/**
* @var string
*/
protected $_template = 'report/grid/container.phtml';
protected $_template = 'Magento_Reports::report/grid/container.phtml';

/**
* @return void
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class Bestsellers extends \Magento\Backend\Block\Widget\Grid\Container
*
* @var string
*/
protected $_template = 'report/grid/container.phtml';
protected $_template = 'Magento_Reports::report/grid/container.phtml';

/**
* {@inheritdoc}
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/Reports/Block/Adminhtml/Sales/Coupons.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class Coupons extends \Magento\Backend\Block\Widget\Grid\Container
*
* @var string
*/
protected $_template = 'report/grid/container.phtml';
protected $_template = 'Magento_Reports::report/grid/container.phtml';

/**
* {@inheritdoc}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class Invoiced extends \Magento\Backend\Block\Widget\Grid\Container
*
* @var string
*/
protected $_template = 'report/grid/container.phtml';
protected $_template = 'Magento_Reports::report/grid/container.phtml';

/**
* {@inheritdoc}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class Refunded extends \Magento\Backend\Block\Widget\Grid\Container
*
* @var string
*/
protected $_template = 'report/grid/container.phtml';
protected $_template = 'Magento_Reports::report/grid/container.phtml';

/**
* {@inheritdoc}
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/Reports/Block/Adminhtml/Sales/Sales.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class Sales extends \Magento\Backend\Block\Widget\Grid\Container
*
* @var string
*/
protected $_template = 'report/grid/container.phtml';
protected $_template = 'Magento_Reports::report/grid/container.phtml';

/**
* {@inheritdoc}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class Shipping extends \Magento\Backend\Block\Widget\Grid\Container
*
* @var string
*/
protected $_template = 'report/grid/container.phtml';
protected $_template = 'Magento_Reports::report/grid/container.phtml';

/**
* {@inheritdoc}
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/Reports/Block/Adminhtml/Sales/Tax.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class Tax extends \Magento\Backend\Block\Widget\Grid\Container
*
* @var string
*/
protected $_template = 'report/grid/container.phtml';
protected $_template = 'Magento_Reports::report/grid/container.phtml';

/**
* {@inheritdoc}
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/Reports/Block/Adminhtml/Wishlist.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class Wishlist extends \Magento\Backend\Block\Template
*
* @var string
*/
protected $_template = 'report/wishlist.phtml';
protected $_template = 'Magento_Reports::report/wishlist.phtml';

/**
* Reports wishlist collection factory
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class Form extends \Magento\Backend\Block\Widget\Form\Generic
/**
* @var string
*/
protected $_template = 'rating/form.phtml';
protected $_template = 'Magento_Review::rating/form.phtml';

/**
* Session
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/Review/Block/Adminhtml/Rss/Grid/Link.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class Link extends \Magento\Framework\View\Element\Template
/**
* @var string
*/
protected $_template = 'rss/grid/link.phtml';
protected $_template = 'Magento_Review::rss/grid/link.phtml';

/**
* @var \Magento\Framework\App\Rss\UrlBuilderInterface
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/Review/Block/Customer/Recent.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class Recent extends \Magento\Framework\View\Element\Template
*
* @var string
*/
protected $_template = 'customer/list.phtml';
protected $_template = 'Magento_Review::customer/list.phtml';

/**
* Product reviews collection
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/Review/Block/Customer/View.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class View extends \Magento\Catalog\Block\Product\AbstractProduct
*
* @var string
*/
protected $_template = 'customer/view.phtml';
protected $_template = 'Magento_Review::customer/view.phtml';

/**
* Catalog product model
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/Review/Block/Rating/Entity/Detailed.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class Detailed extends \Magento\Framework\View\Element\Template
/**
* @var string
*/
protected $_template = 'detailed.phtml';
protected $_template = 'Magento_Review::detailed.phtml';

/**
* @var \Magento\Review\Model\RatingFactory
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/Review/Block/View.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class View extends \Magento\Catalog\Block\Product\AbstractProduct
*
* @var string
*/
protected $_template = 'view.phtml';
protected $_template = 'Magento_Review::view.phtml';

/**
* Rating option model
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class Form extends \Magento\Sales\Block\Adminhtml\Order\Create\Form\Address
*
* @var string
*/
protected $_template = 'order/address/form.phtml';
protected $_template = 'Magento_Sales::order/address/form.phtml';

/**
* Core registry
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class Grandtotal extends \Magento\Sales\Block\Adminhtml\Order\Create\Totals\Defa
*
* @var string
*/
protected $_template = 'order/create/totals/grandtotal.phtml';
protected $_template = 'Magento_Sales::order/create/totals/grandtotal.phtml';

/**
* Tax config
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class Shipping extends \Magento\Sales\Block\Adminhtml\Order\Create\Totals\Defaul
*
* @var string
*/
protected $_template = 'order/create/totals/shipping.phtml';
protected $_template = 'Magento_Sales::order/create/totals/shipping.phtml';

/**
* Tax config
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class Subtotal extends \Magento\Sales\Block\Adminhtml\Order\Create\Totals\Defaul
*
* @var string
*/
protected $_template = 'order/create/totals/subtotal.phtml';
protected $_template = 'Magento_Sales::order/create/totals/subtotal.phtml';

/**
* Tax config
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ class Tax extends \Magento\Sales\Block\Adminhtml\Order\Create\Totals\DefaultTota
*
* @var string
*/
protected $_template = 'order/create/totals/tax.phtml';
protected $_template = 'Magento_Sales::order/create/totals/tax.phtml';
}
2 changes: 1 addition & 1 deletion app/code/Magento/Sales/Block/Adminhtml/Order/Details.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ class Details extends \Magento\Framework\View\Element\Template
/**
* @var string
*/
protected $_template = 'order/details.phtml';
protected $_template = 'Magento_Sales::order/details.phtml';
}
2 changes: 1 addition & 1 deletion app/code/Magento/Sales/Block/Adminhtml/Order/View/Form.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ class Form extends \Magento\Backend\Block\Template
*
* @var string
*/
protected $_template = 'order/view/form.phtml';
protected $_template = 'Magento_Sales::order/view/form.phtml';
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class History extends \Magento\Backend\Block\Template implements \Magento\Backen
*
* @var string
*/
protected $_template = 'order/view/tab/history.phtml';
protected $_template = 'Magento_Sales::order/view/tab/history.phtml';

/**
* Core registry
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class Link extends \Magento\Framework\View\Element\Template
/**
* @var string
*/
protected $_template = 'rss/order/grid/link.phtml';
protected $_template = 'Magento_Sales::rss/order/grid/link.phtml';

/**
* @var \Magento\Framework\App\Rss\UrlBuilderInterface
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/Sales/Block/Order/Info/Buttons.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class Buttons extends \Magento\Framework\View\Element\Template
/**
* @var string
*/
protected $_template = 'order/info/buttons.phtml';
protected $_template = 'Magento_Sales::order/info/buttons.phtml';

/**
* Core registry
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/Sales/Block/Order/Info/Buttons/Rss.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class Rss extends \Magento\Framework\View\Element\Template
/**
* @var string
*/
protected $_template = 'order/info/buttons/rss.phtml';
protected $_template = 'Magento_Sales::order/info/buttons/rss.phtml';

/**
* @var \Magento\Sales\Model\OrderFactory
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/Sales/Block/Order/Invoice.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class Invoice extends \Magento\Sales\Block\Order\Invoice\Items
/**
* @var string
*/
protected $_template = 'order/invoice.phtml';
protected $_template = 'Magento_Sales::order/invoice.phtml';

/**
* @var \Magento\Framework\App\Http\Context
Expand Down
Loading

0 comments on commit 16839c0

Please sign in to comment.