Commit 285ab80d6ae72422207811010d2fb7e6afbbbb13
1 parent
6d05d5ed
Exists in
production
Bugfix
Showing
7 changed files
with
12 additions
and
5 deletions
Show diff stats
builds/confjuv-dev.apk
No preview for this file type
builds/confjuvapp-live.apk
No preview for this file type
builds/confjuvapp-web.zip
No preview for this file type
config.xml
1 | 1 | <?xml version="1.0" encoding="UTF-8" standalone="yes"?> |
2 | -<widget id="com.ionicframework.confjuvapp748431" version="0.0.48" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0"> | |
2 | +<widget id="com.ionicframework.confjuvapp748431" version="0.0.49" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0"> | |
3 | 3 | <name>#3ConfJuv</name> |
4 | 4 | <description>Aplicativo móvel para 3ª Conferência Nacional de Juventude</description> |
5 | 5 | <author email="confjuvapp@gmail.com" href="http://www.juventude.gov.br/"/> | ... | ... |
www/html/_left_sidebar.html
... | ... | @@ -11,7 +11,7 @@ |
11 | 11 | <li class="item" ng-click="showMyProposals()"><i class="icon ion-document"></i> Minhas Propostas</li> |
12 | 12 | <li class="item" ng-click="showFollowedProposals()"><i class="icon ion-eye"></i> Propostas Seguidas</li> |
13 | 13 | <li class="item" ng-click="showVotedProposals()"><i class="icon ion-thumbsup"></i> Propostas Apoiadas</li> |
14 | - <li class="item" ng-click="reloadProposals()"><i class="icon ion-earth"></i> Todas as Propostas</li> | |
14 | + <li class="item" ng-click="loadAllProposals()"><i class="icon ion-earth"></i> Todas as Propostas</li> | |
15 | 15 | <li class="item" ng-click="logout()"><i class="icon ion-log-out"></i> Sair</li> |
16 | 16 | </ul> |
17 | 17 | </ion-content> | ... | ... |
www/index.html
... | ... | @@ -35,7 +35,7 @@ |
35 | 35 | |
36 | 36 | <ion-side-menus id="body" ng-show="!introDisplayed"> |
37 | 37 | <ion-side-menu side="left"> |
38 | - <ng-include src="'html/_left_sidebar.html?3'"></ng-include> | |
38 | + <ng-include src="'html/_left_sidebar.html?4'"></ng-include> | |
39 | 39 | </ion-side-menu> |
40 | 40 | |
41 | 41 | <ion-side-menu-content> | ... | ... |
www/js/controllers.js
... | ... | @@ -1582,11 +1582,18 @@ angular.module('confjuvapp.controllers', []) |
1582 | 1582 | N A T I O N A L P H A S E P R O P O S A L S |
1583 | 1583 | ******************************************************************************/ |
1584 | 1584 | |
1585 | - $scope.nationalProposals = []; | |
1586 | - | |
1587 | 1585 | $scope.showNationalProposals = function() { |
1588 | 1586 | $scope.proposalFilters = { 'author_id': ConfJuvAppConfig.noosferoNationalPhaseProfileId }; |
1589 | 1587 | $scope.reloadProposals(); |
1590 | 1588 | }; |
1591 | 1589 | |
1590 | + /****************************************************************************** | |
1591 | + A L L P R O P O S A L S | |
1592 | + ******************************************************************************/ | |
1593 | + | |
1594 | + $scope.loadAllProposals = function() { | |
1595 | + $scope.proposalFilters = null; | |
1596 | + $scope.reloadProposals(); | |
1597 | + }; | |
1598 | + | |
1592 | 1599 | }); // Ends controller | ... | ... |