Skip to content

Commit ce2aab6

Browse files
author
Oleg Zinoviev
committed
MAGETWO-32315: Side Panels
- Fixed functional test
1 parent 08e8db3 commit ce2aab6

File tree

2 files changed

+15
-8
lines changed
  • app/code/Magento
    • Backend/view/adminhtml/templates/widget/form/renderer
    • Catalog/view/adminhtml/templates/product/edit

2 files changed

+15
-8
lines changed

app/code/Magento/Backend/view/adminhtml/templates/widget/form/renderer/fieldset.phtml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,13 @@ if ($isField) {
6161
<?php endif; ?>
6262
<?php endif; ?>
6363

64-
<?php if ($element->getComment() && !$isField): ?>
65-
<div class="comment"><?php echo $block->escapeHtml($element->getComment()) ?></div>
66-
<?php endif; ?>
64+
<div class="admin__scope">
65+
<div class="messages">
66+
<?php if ($element->getComment() && !$isField): ?>
67+
<div class="message message-notice"><?php echo $block->escapeHtml($element->getComment()) ?></div>
68+
<?php endif; ?>
69+
</div>
70+
</div>
6771

6872
<?php echo($isField) ? '<div class="control">' : ''; ?>
6973

app/code/Magento/Catalog/view/adminhtml/templates/product/edit/tabs.phtml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,14 @@
4343
}}'
4444
<?php endif;?>>
4545

46-
<div class="admin__page-nav-title <?php if (!$isBasic): ?> <?php echo '_collapsible';?><?php endif;?>"
47-
<?php echo $block->getUiId('title') ?>
48-
data-role="title">
49-
<strong><?php echo $isBasic ? __('Basic Settings') : __('Advanced Settings') ?></strong>
50-
<span class="admin__page-nav-title-messages"></span>
46+
<div class="admin__page-nav-title-wrap" <?php echo $block->getUiId('title') ?> data-role="title">
47+
<div class="admin__page-nav-title <?php if (!$isBasic): ?> <?php echo '_collapsible';?><?php endif;?>"
48+
data-role="trigger">
49+
<strong>
50+
<?php echo $isBasic ? __('Basic Settings') : __('Advanced Settings') ?>
51+
</strong>
52+
<span class="admin__page-nav-title-messages"></span>
53+
</div>
5154
</div>
5255

5356
<ul <?php echo $block->getUiId('tab', $tabGroupId) ?> class="tabs admin__page-nav-items" data-role="content">

0 commit comments

Comments
 (0)