diff --git a/src/app/profile/info/profile-info.component.ts b/src/app/profile/info/profile-info.component.ts index 2d35077..4e39370 100644 --- a/src/app/profile/info/profile-info.component.ts +++ b/src/app/profile/info/profile-info.component.ts @@ -16,9 +16,18 @@ export class ProfileInfoComponent { activities: any; profile: noosfero.Profile; + showInformation: boolean = false; constructor(private profileService: ProfileService, private amDateFormatFilter: any) { this.init(); + this.showInformation = false; + } + + toggleInformation() { + console.log(this.showInformation); + console.log("argila"); + this.showInformation = !this.showInformation; + console.log(this.showInformation); } init() { diff --git a/src/app/profile/info/profile-info.html b/src/app/profile/info/profile-info.html index eb1068a..bdffa27 100644 --- a/src/app/profile/info/profile-info.html +++ b/src/app/profile/info/profile-info.html @@ -28,11 +28,12 @@ --> -
+ +
-
+
- diff --git a/src/app/profile/profile.component.ts b/src/app/profile/profile.component.ts index 7b03124..a86dabe 100644 --- a/src/app/profile/profile.component.ts +++ b/src/app/profile/profile.component.ts @@ -14,8 +14,7 @@ import {ProfileActionsComponent} from "./profile-actions.component"; import {ConfigBarComponent} from "./config-bar.component"; /** * @ngdoc controller - * @name profile.Profile - * @description + * @name profile.Profile * @description * This is the profile controller. It provide routes to supported Noosfero Profiles. */ @@ -148,4 +147,6 @@ export class ProfileComponent { notificationService.error({ message: "notification.profile.not_found" }); }); } + + } diff --git a/src/app/profile/profile.scss b/src/app/profile/profile.scss index 414b261..477f187 100644 --- a/src/app/profile/profile.scss +++ b/src/app/profile/profile.scss @@ -145,6 +145,7 @@ a{ /* NOOSFERO PROFILE */ .bg-image {} + #noosfero-profile { background:#fff; margin: -200px auto auto; @@ -164,7 +165,19 @@ a{ h3 { margin-top: 16px; } + .btn { + font-size: 12px; + padding: 5px 10px; + } + .profile-contact { + padding-top: 10px; + + p { + margin: 0px; + } + } } + ul.social {list-style:none; text-align:center;padding:0; margin:0;} #infocontato {max-width:200px;} #infocontato .alert-info{margin:.5rem 0; -- libgit2 0.21.2