diff --git a/src/app/index.scss b/src/app/index.scss
index 4e0eefc..153127b 100644
--- a/src/app/index.scss
+++ b/src/app/index.scss
@@ -39,6 +39,12 @@ $break-sm-min: 992px;
$break-xxs-max: ($break-xxs-min - 1);
$break-sm-max: ($break-sm-min - 1);
$break-xs-max: ($break-xs-min - 1);
+// TODO: improve this method to collect all the paddings with a single var
+$wrapper-padding: 15px 15px 35px 15px;
+$wrapper-padding-top: 15px;
+$wrapper-padding-right: 15px;
+$wrapper-padding-bottom: 35px;
+$wrapper-padding-left: 15px;
@import "../../bower_components/bootswatch/flatly/_variables.scss";
diff --git a/src/app/layout/blocks/communities/communities-block.html b/src/app/layout/blocks/communities/communities-block.html
index 4ddb907..0ffd238 100644
--- a/src/app/layout/blocks/communities/communities-block.html
+++ b/src/app/layout/blocks/communities/communities-block.html
@@ -1,6 +1,6 @@
-
-
-
-
-
{{profile.name}}
-
+
+
+
+
+
{{profile.name}}
+
diff --git a/src/app/layout/scss/skins/_whbl.scss b/src/app/layout/scss/skins/_whbl.scss
index 2d42de2..a81d6ef 100644
--- a/src/app/layout/scss/skins/_whbl.scss
+++ b/src/app/layout/scss/skins/_whbl.scss
@@ -122,7 +122,7 @@ $whbl-font-color: #16191c;
margin-bottom: 0;
position: relative;
min-height: 1200px;
- padding: 15px 15px 35px 15px;
+ padding: $wrapper-padding;
margin-left: 220px;
// border-left: 2px solid #e7ebee;
}
diff --git a/src/app/profile/image/image.html b/src/app/profile/image/image.html
index 9bf6c30..c8bba27 100644
--- a/src/app/profile/image/image.html
+++ b/src/app/profile/image/image.html
@@ -1,4 +1,4 @@
-
+
diff --git a/src/app/profile/info/profile-info.component.ts b/src/app/profile/info/profile-info.component.ts
index 64acaa7..2d35077 100644
--- a/src/app/profile/info/profile-info.component.ts
+++ b/src/app/profile/info/profile-info.component.ts
@@ -24,9 +24,6 @@ export class ProfileInfoComponent {
init() {
this.profileService.getCurrentProfile().then((profile: noosfero.Profile) => {
this.profile = profile;
- return this.profileService.getActivities(this.profile.id);
- }).then((response: restangular.IResponse) => {
- this.activities = response.data.activities;
});
}
}
diff --git a/src/app/profile/info/profile-info.html b/src/app/profile/info/profile-info.html
index f07c9e0..eb1068a 100644
--- a/src/app/profile/info/profile-info.html
+++ b/src/app/profile/info/profile-info.html
@@ -28,13 +28,13 @@
-->
-
+
-
+
-
+
- Facebook
- Twitter
diff --git a/src/app/profile/info/profile-info.scss b/src/app/profile/info/profile-info.scss
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/src/app/profile/info/profile-info.scss
diff --git a/src/app/profile/profile.component.ts b/src/app/profile/profile.component.ts
index 38a2b3b..17f432c 100644
--- a/src/app/profile/profile.component.ts
+++ b/src/app/profile/profile.component.ts
@@ -47,11 +47,6 @@ import {ProfileToolbarComponent} from "./profile-toolbar.component";
"toolbar@main": {
templateUrl: "app/profile/toolbar.html",
controller: ProfileToolbarComponent,
- },
- "mainBlockContent": {
- templateUrl: "app/profile/activities/activities.html",
- controller: ProfileInfoComponent,
- controllerAs: "vm"
}
}
},
diff --git a/src/app/profile/profile.html b/src/app/profile/profile.html
index 9ba268a..c7841e1 100644
--- a/src/app/profile/profile.html
+++ b/src/app/profile/profile.html
@@ -4,6 +4,7 @@
[attribute]="'custom_header'"
[profile]="vm.profile">
+