Commit 726528eb32924cf90cc810e6870e3090cf7fa630
Exists in
master
and in
2 other branches
Merge branch 'master' into staging
Showing
3 changed files
with
14 additions
and
12 deletions
Show diff stats
gulp/build.js
@@ -48,6 +48,8 @@ gulp.task('html', ['inject', 'partials'], function () { | @@ -48,6 +48,8 @@ gulp.task('html', ['inject', 'partials'], function () { | ||
48 | .pipe($.if($.util.env.production, $.replace('http://hom.dialoga.gov.br', 'http://dialoga.gov.br'))) | 48 | .pipe($.if($.util.env.production, $.replace('http://hom.dialoga.gov.br', 'http://dialoga.gov.br'))) |
49 | .pipe($.if($.util.env.production, $.replace('http://hom.login.dialoga.gov.br', 'http://login.dialoga.gov.br'))) | 49 | .pipe($.if($.util.env.production, $.replace('http://hom.login.dialoga.gov.br', 'http://login.dialoga.gov.br'))) |
50 | .pipe($.if($.util.env.production, $.replace('6LcLPAcTAAAAAKsd0bxY_TArhD_A7OL19SRCW7_i', '6LeDTRUTAAAAAA1VMOmIa2oqqWaPfXsv7J90r_49'))) | 50 | .pipe($.if($.util.env.production, $.replace('6LcLPAcTAAAAAKsd0bxY_TArhD_A7OL19SRCW7_i', '6LeDTRUTAAAAAA1VMOmIa2oqqWaPfXsv7J90r_49'))) |
51 | + .pipe($.if($.util.env.production, $.replace('faq: \'117322\'', 'faq: \'128956\''))) | ||
52 | + .pipe($.if($.util.env.production, $.replace('acessibility: \'117319\'', 'acessibility: \'128972\''))) | ||
51 | // staging | 53 | // staging |
52 | .pipe($.if($.util.env.staging, $.replace('http://dialoga.gov.br', 'http://hom.dialoga.gov.br'))) | 54 | .pipe($.if($.util.env.staging, $.replace('http://dialoga.gov.br', 'http://hom.dialoga.gov.br'))) |
53 | .pipe($.if($.util.env.staging, $.replace('http://login.dialoga.gov.br', 'http://hom.login.dialoga.gov.br'))) | 55 | .pipe($.if($.util.env.staging, $.replace('http://login.dialoga.gov.br', 'http://hom.login.dialoga.gov.br'))) |
src/app/components/social-share/social-share.directive.js
@@ -11,10 +11,10 @@ | @@ -11,10 +11,10 @@ | ||
11 | restrict: 'E', | 11 | restrict: 'E', |
12 | templateUrl: 'app/components/social-share/social-share.html', | 12 | templateUrl: 'app/components/social-share/social-share.html', |
13 | scope: { | 13 | scope: { |
14 | - socialVia: '=', | ||
15 | - socialUrl: '=', | ||
16 | - socialImage: '=', | ||
17 | - socialText: '=', | 14 | + socialVia: '=?', |
15 | + socialUrl: '=?', | ||
16 | + socialImage: '=?', | ||
17 | + socialText: '=?', | ||
18 | arrowClass: '@' | 18 | arrowClass: '@' |
19 | }, | 19 | }, |
20 | controller: SocialShareController, | 20 | controller: SocialShareController, |
src/app/components/social-share/social-share.html
@@ -7,11 +7,11 @@ | @@ -7,11 +7,11 @@ | ||
7 | socialshare | 7 | socialshare |
8 | socialshare-provider="facebook" | 8 | socialshare-provider="facebook" |
9 | socialshare-type="feed" | 9 | socialshare-type="feed" |
10 | - socialshare-via="{{vm.socialVia}}" | ||
11 | - socialshare-url="{{vm.socialUrl}}" | 10 | + socialshare-via="vm.socialVia" |
11 | + socialshare-url="vm.socialUrl" | ||
12 | socialshare-redirect-uri="https://dialoga.gov.br/" | 12 | socialshare-redirect-uri="https://dialoga.gov.br/" |
13 | - socialshare-media="{{vm.socialImage}}" | ||
14 | - socialshare-text="{{vm.socialText}}" | 13 | + socialshare-media="vm.socialImage" |
14 | + socialshare-text="vm.socialText" | ||
15 | title="Compartilhar no Facebook"> | 15 | title="Compartilhar no Facebook"> |
16 | <span aria-hidden="true" class="icon-circle icon-small icon-circle-social-facebook"><span class="icon icon-social-facebook"></span></span> | 16 | <span aria-hidden="true" class="icon-circle icon-small icon-circle-social-facebook"><span class="icon icon-social-facebook"></span></span> |
17 | <span class="sr-only">Compartilhar no Facebook</span> | 17 | <span class="sr-only">Compartilhar no Facebook</span> |
@@ -21,8 +21,8 @@ | @@ -21,8 +21,8 @@ | ||
21 | <a href="#" role="button" | 21 | <a href="#" role="button" |
22 | socialshare | 22 | socialshare |
23 | socialshare-provider="twitter" | 23 | socialshare-provider="twitter" |
24 | - socialshare-url="{{vm.socialUrl}}" | ||
25 | - socialshare-text="{{vm.socialText}}" | 24 | + socialshare-url="vm.socialUrl" |
25 | + socialshare-text="vm.socialText" | ||
26 | socialshare-hastags="dialogabrasil" | 26 | socialshare-hastags="dialogabrasil" |
27 | title="Compartilhar no Twitter"> | 27 | title="Compartilhar no Twitter"> |
28 | <span aria-hidden="true" class="icon-circle icon-small icon-circle-social-twitter"><span class="icon icon-social-twitter"></span></span> | 28 | <span aria-hidden="true" class="icon-circle icon-small icon-circle-social-twitter"><span class="icon icon-social-twitter"></span></span> |
@@ -33,8 +33,8 @@ | @@ -33,8 +33,8 @@ | ||
33 | <a href="#" role="button" | 33 | <a href="#" role="button" |
34 | socialshare | 34 | socialshare |
35 | socialshare-provider="google+" | 35 | socialshare-provider="google+" |
36 | - socialshare-url="{{vm.socialUrl}}" | ||
37 | - socialshare-text="{{vm.socialText}}" | 36 | + socialshare-url="vm.socialUrl" |
37 | + socialshare-text="vm.socialText" | ||
38 | title="Compartilhar no Google Plus"> | 38 | title="Compartilhar no Google Plus"> |
39 | <span aria-hidden="true" class="icon-circle icon-small icon-circle-social-googleplus"><span class="icon icon-social-googleplus"></span></span> | 39 | <span aria-hidden="true" class="icon-circle icon-small icon-circle-social-googleplus"><span class="icon icon-social-googleplus"></span></span> |
40 | <span class="sr-only">Compartilhar no Google Plus</span> | 40 | <span class="sr-only">Compartilhar no Google Plus</span> |