Skip to content

Commit

Permalink
Fix on reference layout
Browse files Browse the repository at this point in the history
  • Loading branch information
vpietri committed Dec 12, 2015
1 parent a43ee05 commit 8978929
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion Block/Tab/Content/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ public function getTitle()
public function __construct(\Magento\Framework\View\Element\Template\Context $context,
array $data = [])
{

parent::__construct($context, $data);
}

Expand Down
8 changes: 4 additions & 4 deletions view/frontend/layout/quickdevbar.xml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="admin-1column" xsi:noNamespaceSchemaLocation="../../../../../../../lib/internal/Magento/Framework/View/Layout/etc/page_configuration.xsd">
<body>
<referenceContainer name="qdb.tab.info">
<block class="ADM\QuickDevBar\Block\Tab\DefaultContent" name="qdb.tab.store" as="qdb.tab.store" template="tab/info/store.phtml">
<referenceBlock name="qdb.tab.info">
<block class="ADM\QuickDevBar\Block\Tab\DefaultContent" name="qdb.tab.store" as="qdb.tab.store" after="qdb.tab.request" template="tab/info/store.phtml">
<action method="setTitle">
<argument name="title" xsi:type="string">Store</argument>
</action>
</block>
<block class="ADM\QuickDevBar\Block\Tab\Content\PhpInfo" name="qdb.tab.phpinfo" as="qdb.tab.phpinfo">
<block class="ADM\QuickDevBar\Block\Tab\Content\PhpInfo" name="qdb.tab.phpinfo" after="qdb.tab.store" as="qdb.tab.phpinfo">
<!-- Use the standard router quickdevbar/index/tab to load the block -->
<action method="setIsAjax">
<argument name="is_ajax" xsi:type="string">1</argument>
Expand All @@ -18,6 +18,6 @@
</action>
<!-- -->
</block>
</referenceContainer>
</referenceBlock>
</body>
</page>

0 comments on commit 8978929

Please sign in to comment.