mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Fixed signout links from sidenav
This commit is contained in:
parent
bbbd3320ef
commit
f5f07bd552
@ -53,6 +53,7 @@ function (angular, _, $, config) {
|
||||
|
||||
$scope.bottomLinks.push({
|
||||
text: "Sign out",
|
||||
target: "_self",
|
||||
icon: "fa fa-fw fa-sign-out",
|
||||
href: $scope.getUrl("/logout"),
|
||||
});
|
||||
@ -90,6 +91,7 @@ function (angular, _, $, config) {
|
||||
$scope.bottomLinks.push({
|
||||
text: "Sign out",
|
||||
icon: "fa fa-fw fa-sign-out",
|
||||
target: "_self",
|
||||
href: $scope.getUrl("/logout"),
|
||||
});
|
||||
};
|
||||
|
@ -28,7 +28,6 @@
|
||||
</ul>
|
||||
|
||||
<ul class="sidemenu sidemenu-small" style="margin-top:50px">
|
||||
|
||||
<li ng-repeat="item in bottomLinks">
|
||||
<a href="{{item.href}}" class="sidemenu-item" target="{{item.target}}">
|
||||
<img ng-if="item.imgSrc" ng-src="{{item.imgSrc}}">
|
||||
@ -36,6 +35,5 @@
|
||||
<span class="sidemenu-item-text">{{item.text}}</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user