Commit
6b9994a550246463fdfc0c85f08231b973b8f226
Exists in
master
and in
38 other branches
activities_block, angular2, btn-new-post, cleaning-the-house, cosmetic_changes_people_and_communities_block, coverage, edit-blocks, edit-header-footer, env-tags-block, forgot_password, header_and_footer, helpers-evolution, layout_support, list_articles_on_blog, loading-indicator-component, login_modal, login_modal_improve, person_info_block, production, profile-article-resolvers, profile-blocks-sass, profile-view, profile_description_block_component, profile_page_improvements, profile_search, recent-activities, remove-article-confirmation, responsive-fixes, seo, signup_page, skin-small-change, staging, tags-block, theme-skin-yellow, translations, typescript, updated_signup_page, users_profile_page
Fix boxes position
| @@ -17,5 +17,10 @@ |
| @@ -17,5 +17,10 @@ |
17
| vm.owner = profile.community; |
17
| vm.owner = profile.community; |
18
| }); |
18
| }); |
19
| } |
19
| } |
| |
20
| + |
| |
21
| + vm.boxesOrder = function(box) { |
| |
22
| + if(box.position==2) return 0; |
| |
23
| + return box.position; |
| |
24
| + } |
20
| } |
25
| } |
21
| })(); |
26
| })(); |
| @@ -5,7 +5,7 @@ |
| @@ -5,7 +5,7 @@ |
5
| </div> |
5
| </div> |
6
| |
6
| |
7
| <div class="row"> |
7
| <div class="row"> |
8
| - <ng-include ng-repeat="box in main.owner.boxes | orderBy: 'position'" src="'app/views/profile/box.html'"></ng-include> |
8
| + <ng-include ng-repeat="box in main.owner.boxes | orderBy: main.boxesOrder" src="'app/views/profile/box.html'"></ng-include> |
9
| </div> |
9
| </div> |
10
| |
10
| |
11
| </div> |
11
| </div> |