Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,6 @@
padding-top: @main__indent-top;
}

.menu-wrapper {
.logo-static {
pointer-events: none;
}
}

//
// Header
// _____________________________________________
Expand Down
2 changes: 1 addition & 1 deletion setup/pub/styles/setup.css

Large diffs are not rendered by default.

13 changes: 10 additions & 3 deletions setup/view/magento/setup/navigation/side-menu.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@

// @codingStandardsIgnoreFile

use Magento\Backend\Model\UrlInterface;
use Magento\Framework\App\ObjectManager;

$objectManager = ObjectManager::getInstance();
/** @var Magento\Backend\Model\UrlInterface $backendUrl */
$backendUrl = $objectManager->get(UrlInterface::class);

?>
<?php $expressions = []; foreach ( $this->main as $item ): ?>
<?php $expressions[] = '!$state.is(\'' . $item['id'] . '\')';
Expand All @@ -20,13 +27,13 @@
ng-show="<?= implode( '&&', $expressions) ?>"
>
<nav class="admin__menu" ng-controller="mainController">
<span
class="logo logo-static"
<a href="<?= $backendUrl->getBaseUrl() . $backendUrl->getAreaFrontName(); ?>"
class="logo"
data-edition="Community Edition">
<img class="logo-img"
src="./pub/images/logo.svg"
alt="Magento Admin Panel">
</span>
</a>
<ul id="nav" role="menubar">
<li class="item-home level-0" ng-class="{_active: $state.current.name === 'root.home'}">
<a href="" ui-sref="root.home">
Expand Down