File tree 19 files changed +21
-21
lines changed
Cookie/view/frontend/web/js
Newsletter/Block/Adminhtml/Template
OfflinePayments/Block/Form
Adminhtml/Order/Packaging
Widget/Block/Adminhtml/Widget/Instance/Edit/Tab/Main
dev/tests/integration/testsuite/Magento/Framework/View/_files/layout_directives_test 19 files changed +21
-21
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ define([
25
25
} ) ;
26
26
27
27
if ( $ . mage . cookies . get ( this . options . cookieName ) ) {
28
- window . location . reload ( ) ;
28
+ this . element . hide ( ) ;
29
29
} else {
30
30
window . location . href = this . options . noCookiesUrl ;
31
31
}
Original file line number Diff line number Diff line change @@ -206,7 +206,7 @@ public function getForm()
206
206
}
207
207
208
208
/**
209
- * Return return template name for JS
209
+ * Return template name for JS
210
210
*
211
211
* @return string
212
212
*/
Original file line number Diff line number Diff line change @@ -15,5 +15,5 @@ class Banktransfer extends \Magento\OfflinePayments\Block\Form\AbstractInstructi
15
15
*
16
16
* @var string
17
17
*/
18
- protected $ _template = 'form/banktransfer.phtml ' ;
18
+ protected $ _template = 'Magento_OfflinePayments:: form/banktransfer.phtml ' ;
19
19
}
Original file line number Diff line number Diff line change @@ -15,5 +15,5 @@ class Cashondelivery extends \Magento\OfflinePayments\Block\Form\AbstractInstruc
15
15
*
16
16
* @var string
17
17
*/
18
- protected $ _template = 'form/cashondelivery.phtml ' ;
18
+ protected $ _template = 'Magento_OfflinePayments:: form/cashondelivery.phtml ' ;
19
19
}
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ class Instructions extends \Magento\Payment\Block\Info
20
20
/**
21
21
* @var string
22
22
*/
23
- protected $ _template = 'info/instructions.phtml ' ;
23
+ protected $ _template = 'Magento_Payment:: info/instructions.phtml ' ;
24
24
25
25
/**
26
26
* Get instructions text from order payment
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ class Price extends \Magento\ProductAlert\Block\Email\AbstractEmail
15
15
/**
16
16
* @var string
17
17
*/
18
- protected $ _template = 'email/price.phtml ' ;
18
+ protected $ _template = 'Magento_ProductAlert:: email/price.phtml ' ;
19
19
20
20
/**
21
21
* Retrieve unsubscribe url for product
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ class Stock extends \Magento\ProductAlert\Block\Email\AbstractEmail
16
16
/**
17
17
* @var string
18
18
*/
19
- protected $ _template = 'email/stock.phtml ' ;
19
+ protected $ _template = 'Magento_ProductAlert:: email/stock.phtml ' ;
20
20
21
21
/**
22
22
* Retrieve unsubscribe url for product
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ class Feeds extends \Magento\Framework\View\Element\Template
14
14
/**
15
15
* @var string
16
16
*/
17
- protected $ _template = 'feeds.phtml ' ;
17
+ protected $ _template = 'Magento_Rss:: feeds.phtml ' ;
18
18
19
19
/**
20
20
* @var \Magento\Framework\App\Rss\RssManagerInterface
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ class History extends \Magento\Framework\View\Element\Template
16
16
/**
17
17
* @var string
18
18
*/
19
- protected $ _template = 'order/history.phtml ' ;
19
+ protected $ _template = 'Magento_Sales:: order/history.phtml ' ;
20
20
21
21
/**
22
22
* @var \Magento\Sales\Model\ResourceModel\Order\CollectionFactory
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ class Grid extends \Magento\Backend\Block\Template
10
10
/**
11
11
* @var string
12
12
*/
13
- protected $ _template = 'order/packaging/grid.phtml ' ;
13
+ protected $ _template = 'Magento_Shipping:: order/packaging/grid.phtml ' ;
14
14
15
15
/**
16
16
* Core registry
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ class Shipment extends \Magento\Framework\View\Element\Template
15
15
/**
16
16
* @var string
17
17
*/
18
- protected $ _template = 'order/shipment.phtml ' ;
18
+ protected $ _template = 'Magento_Shipping:: order/shipment.phtml ' ;
19
19
20
20
/**
21
21
* Core registry
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ class Tree extends \Magento\Catalog\Block\Adminhtml\Category\AbstractCategory
26
26
/**
27
27
* @var string
28
28
*/
29
- protected $ _template = 'categories.phtml ' ;
29
+ protected $ _template = 'Magento_UrlRewrite:: categories.phtml ' ;
30
30
31
31
/**
32
32
* Adminhtml data
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ class Selector extends \Magento\Backend\Block\Template
18
18
/**
19
19
* @var string
20
20
*/
21
- protected $ _template = 'selector.phtml ' ;
21
+ protected $ _template = 'Magento_UrlRewrite:: selector.phtml ' ;
22
22
23
23
/**
24
24
* Set block template and get available modes
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ class Edit extends \Magento\Backend\Block\Widget\Form implements \Magento\Backen
18
18
/**
19
19
* @var string
20
20
*/
21
- protected $ _template = 'role/edit.phtml ' ;
21
+ protected $ _template = 'Magento_User:: role/edit.phtml ' ;
22
22
23
23
/**
24
24
* Root ACL Resource
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ class Tax extends \Magento\Backend\Block\Widget implements \Magento\Framework\Da
33
33
/**
34
34
* @var string
35
35
*/
36
- protected $ _template = 'renderer/tax.phtml ' ;
36
+ protected $ _template = 'Magento_Weee:: renderer/tax.phtml ' ;
37
37
38
38
/**
39
39
* Core registry
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ class Layout extends \Magento\Backend\Block\Template implements \Magento\Framewo
25
25
/**
26
26
* @var string
27
27
*/
28
- protected $ _template = 'instance/edit/layout.phtml ' ;
28
+ protected $ _template = 'Magento_Widget:: instance/edit/layout.phtml ' ;
29
29
30
30
/**
31
31
* @var \Magento\Catalog\Model\Product\Type
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ class EmailLink extends Link
19
19
/**
20
20
* @var string
21
21
*/
22
- protected $ _template = 'rss/email.phtml ' ;
22
+ protected $ _template = 'Magento_Wishlist:: rss/email.phtml ' ;
23
23
24
24
/**
25
25
* @return array
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ class Items extends \Magento\Wishlist\Block\AbstractBlock
16
16
/**
17
17
* @var string
18
18
*/
19
- protected $ _template = 'email/items.phtml ' ;
19
+ protected $ _template = 'Magento_Wishlist:: email/items.phtml ' ;
20
20
21
21
/**
22
22
* Retrieve Product View URL
Original file line number Diff line number Diff line change 9
9
<block class =" Magento\Framework\View\Element\Text" name =" block1" >
10
10
<block class =" Magento\Framework\View\Element\Text" name =" block2" group =" group1" >
11
11
<arguments >
12
- <argument xsi : type =" string" name =" text" >blok2 </argument >
12
+ <argument xsi : type =" string" name =" text" >block2 </argument >
13
13
</arguments >
14
14
</block >
15
15
<block class =" Magento\Framework\View\Element\Text" name =" block3" group =" group1" >
16
16
<arguments >
17
- <argument xsi : type =" string" name =" text" >blok3 </argument >
17
+ <argument xsi : type =" string" name =" text" >block3 </argument >
18
18
</arguments >
19
19
</block >
20
20
<block class =" Magento\Framework\View\Element\Text" name =" block4" >
21
21
<arguments >
22
- <argument xsi : type =" string" name =" text" >blok4 </argument >
22
+ <argument xsi : type =" string" name =" text" >block4 </argument >
23
23
</arguments >
24
24
</block >
25
25
</block >
You can’t perform that action at this time.
0 commit comments