|
|
@@ -4,8 +4,17 @@ |
|
|
|
<div class="nav"> |
|
|
|
<button (click)="back()"> <ion-icon name="chevron-back-outline"></ion-icon> <span> BACK </span> </button> |
|
|
|
</div> |
|
|
|
<header> {{ currentMatch.Teams[currentMatch.Matchdetail.Team_Home].Name_Short }} v/s {{ currentMatch.Teams[currentMatch.Matchdetail.Team_Away].Name_Short }} <br> |
|
|
|
<span> {{ currentMatch.Matchdetail.Venue.Name }} </span> </header> |
|
|
|
<header> |
|
|
|
<ng-container *ngIf="!currentMatch.Innings"> |
|
|
|
{{ currentMatch.Teams[currentMatch.Matchdetail.Team_Home].Name_Short }} v/s {{ currentMatch.Teams[currentMatch.Matchdetail.Team_Away].Name_Short }} <br> |
|
|
|
</ng-container> |
|
|
|
<ng-container *ngIf="currentMatch.Innings"> |
|
|
|
<ng-container *ngFor="let inning of getReversedArray(currentMatch.Innings)"> |
|
|
|
{{ currentMatch.Teams[inning.Battingteam].Name_Short }} {{ inning.Total }}/{{ inning.Wickets }} <span> ({{ inning.Overs }}) </span> <br> |
|
|
|
</ng-container> |
|
|
|
</ng-container> |
|
|
|
<span> {{ currentMatch.Matchdetail.Venue.Name }} </span> |
|
|
|
</header> |
|
|
|
<div class="action" (click)="shareMatchDetails()"> |
|
|
|
<button> <ion-icon name="share-social"></ion-icon> </button> |
|
|
|
</div> |
|
|
@@ -149,11 +158,11 @@ |
|
|
|
<ng-container *ngIf="selectedSegment === 'MATCH'"> |
|
|
|
<div class="commentary-container" *ngIf="selectedRoster === 'LIVE' && commentaryList"> |
|
|
|
|
|
|
|
<section class="score-card" *ngIf="currentMatch.Innings"> |
|
|
|
<!-- <section class="score-card" *ngIf="currentMatch.Innings"> |
|
|
|
<div class="team" *ngFor="let inning of getReversedArray(currentMatch.Innings)"> |
|
|
|
<header> <h5> {{ currentMatch.Teams[inning.Battingteam].Name_Short }} </h5> {{ inning.Total }}/{{ inning.Wickets }} <span> ({{ inning.Overs }}) </span> </header> |
|
|
|
</div> |
|
|
|
</section> |
|
|
|
</section> --> |
|
|
|
|
|
|
|
<ul *ngFor="let list of getReversedArray(commentaryList)"> |
|
|
|
<header> |
|
|
|