diff options
| author | Kamen Mladenov <kamen.d.mladenov@protonmail.com> | 2021-04-08 09:32:55 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-08 09:32:55 +0300 |
| commit | 601b39df7da18bfa80a0443be258ccee74403b0a (patch) | |
| tree | 8f29ea0acf3716fd13b24d3a3282f66a9bf78e68 /src/app/components/profile/profile.component.html | |
| parent | d12c7c4dbf117ecec60eae6f0dc8d9bb5ee339b5 (diff) | |
| parent | bf75b260b2c8b8c11ae3c672ae6378bd24f9f196 (diff) | |
| download | DevHive-Angular-601b39df7da18bfa80a0443be258ccee74403b0a.tar DevHive-Angular-601b39df7da18bfa80a0443be258ccee74403b0a.tar.gz DevHive-Angular-601b39df7da18bfa80a0443be258ccee74403b0a.zip | |
Merge pull request #6 from Team-Kaleidoscope/friends-update
Friends request update
Diffstat (limited to 'src/app/components/profile/profile.component.html')
| -rw-r--r-- | src/app/components/profile/profile.component.html | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/app/components/profile/profile.component.html b/src/app/components/profile/profile.component.html index 1a360fc..c6fdee6 100644 --- a/src/app/components/profile/profile.component.html +++ b/src/app/components/profile/profile.component.html @@ -14,12 +14,9 @@ <div> @{{ user.userName }} </div> - <form class="flex-row flexible-children width-full font-size-dot7 margin-top-dot4" [formGroup]="updateFrienship" (ngSubmit)="modifyFriend()" *ngIf="!isTheLoggedInUser && isUserLoggedIn"> - <input class="border-faded-slim border-bottom-only margin-right-dot2" type="password" formControlName="password" *ngIf="updatingFriendship" placeholder="Type in password to confirm"> - <button id="add-friend" type="submit" class="border-faded-slim padding-dot1 lighter-hover click-effect border-radius-dot3 width-full"> - {{ updatingFriendship ? 'Confirm' : (friendOfUser ? 'Unfriend' : 'Add friend') }} - </button> - </form> + <button id="add-friend" class="border-faded-slim padding-dot3 lighter-hover click-effect border-radius-dot3 font-size-dot8 margin-top-dot4" (click)="modifyFriend()" *ngIf="!isTheLoggedInUser && isUserLoggedIn"> + {{ friendOfUser ? 'Unfriend' : 'Add friend' }} + </button> </div> </section> <section class="card sec-info-card flex-col width-full"> |
