Commit 2983c9ffef4ddc82a0cf268a7c15909bb0874860
1 parent
2c9e5346
Exists in
master
and in
2 other branches
Fixing warning position on mobile
Showing
4 changed files
with
7 additions
and
2 deletions
Show diff stats
builds/confjuv-dev.apk
No preview for this file type
builds/confjuvapp-web.zip
No preview for this file type
www/index.html
... | ... | @@ -56,8 +56,8 @@ |
56 | 56 | <i class="icon ion-edit"></i> |
57 | 57 | </button> |
58 | 58 | |
59 | - <div id="profile-warning" ng-show="loggedIn && !profileComplete && !hideProfileWarning" ng-click="editProfile()"> | |
60 | - <span ng-click="ignoreProfileWarning()"><span>Fechar</span></span> | |
59 | + <div id="profile-warning" ng-show="loggedIn && !profileComplete && !hideProfileWarning" ng-click="ignoreAndEditProfile()"> | |
60 | + <span><span>Fechar</span></span> | |
61 | 61 | <p>Seu perfil está <b>incompleto</b>!</p> |
62 | 62 | <p>Pré-requisito para seleção de delegados</p> |
63 | 63 | </div> | ... | ... |
www/js/controllers.js
... | ... | @@ -1509,6 +1509,11 @@ angular.module('confjuvapp.controllers', []) |
1509 | 1509 | $scope.hideProfileWarning = window.localStorage['hide_profile_warning'] = true; |
1510 | 1510 | }; |
1511 | 1511 | |
1512 | + $scope.ignoreAndEditProfile = function() { | |
1513 | + $scope.ignoreProfileWarning(); | |
1514 | + $scope.editProfile(); | |
1515 | + }; | |
1516 | + | |
1512 | 1517 | /****************************************************************************** |
1513 | 1518 | M Y P R O P O S A L S |
1514 | 1519 | ******************************************************************************/ | ... | ... |