You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by ak...@apache.org on 2018/01/10 08:44:50 UTC
ignite git commit: IGNITE-7034 Web Console: Hide connected clusters
in "Become this user" mode.
Repository: ignite
Updated Branches:
refs/heads/master 4e24927ee -> f2edb7e90
IGNITE-7034 Web Console: Hide connected clusters in "Become this user" mode.
Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/f2edb7e9
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/f2edb7e9
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/f2edb7e9
Branch: refs/heads/master
Commit: f2edb7e90bfd4f1b0f433d64b3bc768536777869
Parents: 4e24927
Author: vsisko <vs...@gridgain.com>
Authored: Wed Jan 10 15:44:54 2018 +0700
Committer: Alexey Kuznetsov <ak...@apache.org>
Committed: Wed Jan 10 15:44:54 2018 +0700
----------------------------------------------------------------------
.../frontend/app/components/web-console-header/template.pug | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ignite/blob/f2edb7e9/modules/web-console/frontend/app/components/web-console-header/template.pug
----------------------------------------------------------------------
diff --git a/modules/web-console/frontend/app/components/web-console-header/template.pug b/modules/web-console/frontend/app/components/web-console-header/template.pug
index 660874e..c342090 100644
--- a/modules/web-console/frontend/app/components/web-console-header/template.pug
+++ b/modules/web-console/frontend/app/components/web-console-header/template.pug
@@ -24,10 +24,10 @@
| You are now in #[b Demo Mode]. #[a(ng-click='closeDemo();') Close Demo?]
.wch-content.container
- connected-clusters(ng-if='$ctrl.$rootScope.user && !$ctrl.$rootScope.IgniteDemoMode && $ctrl.isConnectedClustersVisible')
+ connected-clusters(ng-if='$ctrl.$rootScope.user && !$ctrl.$rootScope.IgniteDemoMode && $ctrl.isConnectedClustersVisible && !$root.user.becomeUsed')
a(ui-sref='signin')
img.wch-logo(ng-src='{{::$ctrl.branding.headerLogo}}')
-
+
.wch-slot.wch-slot-left(ng-transclude='slotLeft')
.wch-slot.wch-slot-right(ng-transclude='slotRight')