Skip to content
Snippets Groups Projects
Commit 701b9836 authored by Benoit Lavenier's avatar Benoit Lavenier
Browse files

- Fix help tour - set id for wot certification count

- Hide network menu entry
parent fc9e322d
Branches
Tags
No related merge requests found
...@@ -144,7 +144,7 @@ function HelpTipController($scope, $rootScope, $state, $window, $ionicSideMenuDe ...@@ -144,7 +144,7 @@ function HelpTipController($scope, $rootScope, $state, $window, $ionicSideMenuDe
$scope.continue = true; $scope.continue = true;
// Currency tour // Currency tour
return $scope.startWotTour(0, true) return $scope.startCurrencyTour(0, true)
.then(function(endIndex){ .then(function(endIndex){
if (!endIndex || $scope.cancelled) return false; if (!endIndex || $scope.cancelled) return false;
csSettings.data.helptip.currency=endIndex; csSettings.data.helptip.currency=endIndex;
......
<span id="{{$ctrl.id}}" <span ng-attr-id="{{$ctrl.csId}}"
class="badge badge-balanced" class="badge badge-balanced"
ng-class="{'badge-energized': $ctrl.requirements.willNeedCertificationCount || ($ctrl.requirements.needCertificationCount + $ctrl.requirements.pendingCertificationCount >= $ctrl.parameters.sigQty), ng-class="{'badge-energized': $ctrl.requirements.willNeedCertificationCount || ($ctrl.requirements.needCertificationCount + $ctrl.requirements.pendingCertificationCount >= $ctrl.parameters.sigQty),
'badge-assertive': ($ctrl.requirements.needCertificationCount + $ctrl.requirements.pendingCertificationCount < $ctrl.parameters.sigQty)}"> 'badge-assertive': ($ctrl.requirements.needCertificationCount + $ctrl.requirements.pendingCertificationCount < $ctrl.parameters.sigQty)}">
......
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
<span translate>MENU.CURRENCY</span> <span translate>MENU.CURRENCY</span>
</ion-item> </ion-item>
<ion-item menu-close <!--<ion-item menu-close
id="helptip-menu-btn-network" id="helptip-menu-btn-network"
class="item item-icon-left" class="item item-icon-left"
active-link="active" active-link="active"
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
href="#/app/network/view"> href="#/app/network/view">
<i class="icon ion-android-globe"></i> <i class="icon ion-android-globe"></i>
<span translate>MENU.NETWORK</span> <span translate>MENU.NETWORK</span>
</ion-item> </ion-item>-->
<!-- Allow extension here --> <!-- Allow extension here -->
<cs-extension-point name="menu-discover"></cs-extension-point> <cs-extension-point name="menu-discover"></cs-extension-point>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment