Commit 1cfa523f by carl bergquist

style(sidemenu): rename signup method to signout

parent 548ee47a
......@@ -120,7 +120,7 @@ function (angular, _, $, coreModule, config) {
};
$scope.init = function() {
$scope.showSignup = contextSrv.isSignedIn && !config['authProxyEnabled'];
$scope.showSignout = contextSrv.isSignedIn && !config['authProxyEnabled'];
$scope.updateMenu();
$scope.$on('$routeChangeSuccess', $scope.updateMenu);
};
......
......@@ -60,7 +60,7 @@
<span class="sidemenu-item-text">Grafana admin</span>
</a>
</li>
<li ng-if="showSignup">
<li ng-if="showSignout">
<a href="logout" class="sidemenu-item" target="_self">
<span class="icon-circle sidemenu-icon"><i class="fa fa-fw fa-sign-out"></i></span>
<span class="sidemenu-item-text">Sign out</span>
......@@ -82,7 +82,7 @@
<span class="sidemenu-item-text">Exit admin</span>
</a>
</li>
<li ng-if="showSignup">
<li ng-if="showSignout">
<a href="logout" class="sidemenu-item" target="_self">
<span class="icon-circle sidemenu-icon"><i class="fa fa-fw fa-sign-out"></i></span>
<span class="sidemenu-item-text">Sign out</span>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment