-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1915 from bcgov/bugfix/ALCS-2306
Change Mobile cards' Meatballs Menu to Kebab Menu
- Loading branch information
Showing
3 changed files
with
32 additions
and
35 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
63 changes: 30 additions & 33 deletions
63
...nd/src/app/shared/mobile/parcel-owner-mobile-card/parcel-owner-mobile-card.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 |
---|---|---|
@@ -1,33 +1,30 @@ | ||
<mat-card [ngClass]="{'last-card': isLast, 'review-step': isReviewStep, 'crown': isCrown && !isReviewStep}"> | ||
<mat-card-header> | ||
<mat-card-title> | ||
{{ owner.displayName }} | ||
{{ owner.crownLandOwnerType === 'provincial' ? ' (Provincial Crown)' : '' }} | ||
{{ owner.crownLandOwnerType === 'federal' ? ' (Federal Crown)' : '' }} | ||
<!-- {{ !isCrown ? owner.displayName : owner.displayName + ' (' + owner.crownLandOwnerType + ')'}} --> | ||
</mat-card-title> | ||
<ng-container *ngIf="!isReviewStep"> | ||
<button mat-icon-button [mat-menu-trigger-for]="menu"> | ||
<mat-icon>more_horiz</mat-icon> | ||
</button> | ||
<mat-menu #menu="matMenu"> | ||
<button mat-menu-item (click)="onEdit()"> | ||
<span>Edit</span> | ||
</button> | ||
<button *ngIf="!isCrown" mat-menu-item (click)="onRemove()"> | ||
<span>Remove</span> | ||
</button> | ||
</mat-menu> | ||
</ng-container> | ||
</mat-card-header> | ||
<mat-card-content> | ||
<span *ngIf="owner.organizationName">{{ owner.organizationName }}</span> | ||
<span *ngIf="owner.phoneNumber">Phone: {{ owner.phoneNumber | mask: '(000) 000-0000' }}</span> | ||
<span *ngIf="owner.email">Email: {{ owner.email }}</span> | ||
<a | ||
*ngIf="owner.corporateSummary" | ||
(click)="onOpenFile()"> | ||
{{ owner.corporateSummary.fileName }} | ||
</a> | ||
</mat-card-content> | ||
</mat-card> | ||
<mat-card [ngClass]="{ 'last-card': isLast, 'review-step': isReviewStep, crown: isCrown && !isReviewStep }"> | ||
<mat-card-header> | ||
<mat-card-title> | ||
{{ owner.displayName }} | ||
{{ owner.crownLandOwnerType === 'provincial' ? ' (Provincial Crown)' : '' }} | ||
{{ owner.crownLandOwnerType === 'federal' ? ' (Federal Crown)' : '' }} | ||
</mat-card-title> | ||
<ng-container *ngIf="!isReviewStep"> | ||
<button mat-icon-button [mat-menu-trigger-for]="menu"> | ||
<mat-icon>more_vert</mat-icon> | ||
</button> | ||
<mat-menu #menu="matMenu"> | ||
<button mat-menu-item (click)="onEdit()"> | ||
<span>Edit</span> | ||
</button> | ||
<button *ngIf="!isCrown" mat-menu-item (click)="onRemove()"> | ||
<span>Remove</span> | ||
</button> | ||
</mat-menu> | ||
</ng-container> | ||
</mat-card-header> | ||
<mat-card-content> | ||
<span *ngIf="owner.organizationName">{{ owner.organizationName }}</span> | ||
<span *ngIf="owner.phoneNumber">Phone: {{ owner.phoneNumber | mask: '(000) 000-0000' }}</span> | ||
<span *ngIf="owner.email">Email: {{ owner.email }}</span> | ||
<a *ngIf="owner.corporateSummary" (click)="onOpenFile()"> | ||
{{ owner.corporateSummary.fileName }} | ||
</a> | ||
</mat-card-content> | ||
</mat-card> |
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