-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: display email and mobile of member
- Loading branch information
1 parent
31b88e5
commit ac1bc6d
Showing
10 changed files
with
215 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,9 +5,3 @@ | |
ion-list { | ||
padding: 0; | ||
} | ||
|
||
.address { | ||
ion-label { | ||
white-space: pre-wrap; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,9 @@ ion-list { | |
bo-item { | ||
--label-width: 120px; | ||
} | ||
|
||
.address { | ||
ion-label { | ||
white-space: pre-wrap; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
frontend/src/app/shared/components/icon-button/icon-button.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<ion-button color="dark" fill="clear" size="small" (click)="onClick($event)"> | ||
<ion-icon [name]="icon" [slot]="label ? 'start' : 'icon-only'"></ion-icon> | ||
{{ label }} | ||
</ion-button> |
3 changes: 3 additions & 0 deletions
3
frontend/src/app/shared/components/icon-button/icon-button.component.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
ion-button { | ||
font-size: 10px; | ||
} |
23 changes: 23 additions & 0 deletions
23
frontend/src/app/shared/components/icon-button/icon-button.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import { Component, Input } from "@angular/core"; | ||
|
||
@Component({ | ||
selector: "bo-icon-button", | ||
templateUrl: "./icon-button.component.html", | ||
styleUrl: "./icon-button.component.scss", | ||
}) | ||
export class IconButtonComponent { | ||
@Input() label?: string; | ||
@Input() icon?: string; | ||
@Input() href?: string; | ||
|
||
constructor() {} | ||
|
||
onClick(event: Event) { | ||
event.preventDefault(); | ||
event.stopPropagation(); | ||
|
||
if (this.href) { | ||
window.location.href = this.href; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters