Commit 83becd478ceb3af1d07a2c01af16baea084b29ab

Authored by Caio Almeida
1 parent 98aab383

Ticket #162: Hide gamefication information from profile temporarily

Showing 2 changed files with 1 additions and 16 deletions   Show diff stats
www/html/_profile.html
@@ -11,21 +11,6 @@ @@ -11,21 +11,6 @@
11 <a class="back icon-left ion-reply" ng-click="closeProfile()">Voltar</a> 11 <a class="back icon-left ion-reply" ng-click="closeProfile()">Voltar</a>
12 </h1> 12 </h1>
13 13
14 - <p class="level-and-points">Nível {{profile.level}}. Você possui {{profile.points}} pontos.</p>  
15 - <div id="game-bar"><div id="game-bar-inner" ng-style="{ 'width': profile.gamification_plugin_level_percent + '%' }">{{profile.gamification_plugin_level_percent.toFixed(2)}}%</div></div>  
16 -  
17 - <hr />  
18 -  
19 - <h2>Suas Medalhas</h2>  
20 -  
21 - <div id="badges">  
22 - <div ng-repeat="badge in profile.badges" class="badge">  
23 - <span>{{badge.level}}</span>  
24 - <img ng-src="img/badges/{{badge.name}}.png" />  
25 - <p>Level {{badge.level}}</p>  
26 - </div>  
27 - </div>  
28 -  
29 <h2>Nome</h2> 14 <h2>Nome</h2>
30 <p>{{profile.name}}</p> 15 <p>{{profile.name}}</p>
31 16
www/js/controllers.js
@@ -1397,7 +1397,7 @@ angular.module(&#39;confjuvapp.controllers&#39;, []) @@ -1397,7 +1397,7 @@ angular.module(&#39;confjuvapp.controllers&#39;, [])
1397 $scope.profileModal.show(); 1397 $scope.profileModal.show();
1398 } 1398 }
1399 else { 1399 else {
1400 - $ionicModal.fromTemplateUrl('html/_profile.html?1', { 1400 + $ionicModal.fromTemplateUrl('html/_profile.html?2', {
1401 scope: $scope, 1401 scope: $scope,
1402 animation: 'slide-in-up' 1402 animation: 'slide-in-up'
1403 }).then(function(modal) { 1403 }).then(function(modal) {