File tree Expand file tree Collapse file tree 3 files changed +11
-10
lines changed
app/design/adminhtml/Magento/backend/web/app/setup/styles/less/pages
view/magento/setup/navigation Expand file tree Collapse file tree 3 files changed +11
-10
lines changed Original file line number Diff line number Diff line change 19
19
padding-top : @main__indent-top ;
20
20
}
21
21
22
- .menu-wrapper {
23
- .logo-static {
24
- pointer-events : none ;
25
- }
26
- }
27
-
28
22
//
29
23
// Header
30
24
// _____________________________________________
Original file line number Diff line number Diff line change 6
6
7
7
// @codingStandardsIgnoreFile
8
8
9
+ use Magento \Backend \Model \UrlInterface ;
10
+ use Magento \Framework \App \ObjectManager ;
11
+
12
+ $ objectManager = ObjectManager::getInstance ();
13
+ /** @var Magento\Backend\Model\UrlInterface $backendUrl */
14
+ $ backendUrl = $ objectManager ->get (UrlInterface::class);
15
+
9
16
?>
10
17
<?php $ expressions = []; foreach ( $ this ->main as $ item ): ?>
11
18
<?php $ expressions [] = '!$state.is( \'' . $ item ['id ' ] . '\') ' ;
20
27
ng-show="<?= implode ( '&& ' , $ expressions ) ?> "
21
28
>
22
29
<nav class="admin__menu" ng-controller="mainController">
23
- <span
24
- class="logo logo-static "
30
+ <a href=" <?= $ backendUrl -> getBaseUrl () . $ backendUrl -> getAreaFrontName (); ?> "
31
+ class="logo"
25
32
data-edition="Community Edition">
26
33
<img class="logo-img"
27
34
src="./pub/images/logo.svg"
28
35
alt="Magento Admin Panel">
29
- </span >
36
+ </a >
30
37
<ul id="nav" role="menubar">
31
38
<li class="item-home level-0" ng-class="{_active: $state.current.name === 'root.home'}">
32
39
<a href="" ui-sref="root.home">
You can’t perform that action at this time.
0 commit comments