Commit 11c5d473fdb12e0edb419921a337bf8b04317ea5
Exists in
master
and in
4 other branches
Merge branch 'master' into staging
Showing
5 changed files
with
27 additions
and
4 deletions
Show diff stats
src/app/components/category-list/category-list.directive.js
src/app/components/category-list/category-list.html
... | ... | @@ -6,7 +6,7 @@ |
6 | 6 | <b>Filtrar</b> por Tema <span class="glyphicon glyphicon-filter pull-right"></span> |
7 | 7 | </h3> |
8 | 8 | <!-- <div class="list-group ng-hide" ng-show="!vm.isCollapsed" ng-class="vm.selectedCategory.slug"> --> |
9 | - <div class="list-group" ng-class="vm.selectedCategory.slug"> | |
9 | + <div class="list-group is-mobile" ng-class="vm.selectedCategory.slug"> | |
10 | 10 | <button type="button" class="list-group-item category-list--item" |
11 | 11 | ng-repeat="category in vm.categories" |
12 | 12 | ng-class="{active: vm.selectedCategory.slug === category.slug}" | ... | ... |
src/app/components/category-list/category-list.scss
src/app/components/proposal-box/proposal-box.html
... | ... | @@ -141,7 +141,7 @@ |
141 | 141 | <div class="proposal-box--program color-theme-bg">{{vm.topic.title}}</div> |
142 | 142 | |
143 | 143 | <!-- Apagar o bloco abaixo --> |
144 | - <span style="background: green;">{{::vm.proposal.body}} | |
144 | + <span style="background: green;">{{::vm.proposal}} | |
145 | 145 | </div> |
146 | 146 | <div class="proposal-box--middle"> |
147 | 147 | <div class="proposal-box--content"> | ... | ... |
src/app/pages/respostas/respostas.controller.js
... | ... | @@ -169,7 +169,25 @@ |
169 | 169 | var params = { |
170 | 170 | page: page, |
171 | 171 | per_page: per_page, |
172 | - has_children: true | |
172 | + has_children: true, | |
173 | + 'fields[]': [ | |
174 | + 'id', | |
175 | + 'body', | |
176 | + 'abstract', | |
177 | + 'hits', | |
178 | + 'ranking_position', | |
179 | + 'votes_against', | |
180 | + 'votes_count', | |
181 | + 'votes_for', | |
182 | + 'parent', | |
183 | + 'categories', | |
184 | + 'slug', | |
185 | + 'url', // parent.image.url | |
186 | + 'image', | |
187 | + 'title', | |
188 | + 'archived', | |
189 | + 'has_children', | |
190 | + ] | |
173 | 191 | }; |
174 | 192 | |
175 | 193 | if (vm.selectedTheme) { | ... | ... |