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 @@ --> -