Skip to content
This repository has been archived by the owner on May 7, 2021. It is now read-only.

Commit

Permalink
fix(iteration-panel): Update the onscreen display text when no date h…
Browse files Browse the repository at this point in the history
…as been set. Fixes Git issue 2292. (#2800)
  • Loading branch information
nimishamukherjee authored Nov 7, 2018
1 parent 09c4f16 commit e3271db
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,16 @@
*ngIf="iteration.isActive" >[Active]</span>
</div>
<div class="f8-itr-status">
<span>
{{ iteration.startAt ? (iteration.startAt | date:longDate) : 'Set start date' }}
<span *ngIf="iteration.endAt && iteration.startAt">
{{ (iteration.startAt | date:longDate) }}
-
{{ iteration.endAt ? (iteration.endAt | date:longDate) : 'Set end date' }}
{{ (iteration.endAt | date:longDate) }}
</span>
<span *ngIf="iteration.startAt && !iteration.endAt">
Start Date: {{ (iteration.startAt | date:longDate) }}
</span>
<span *ngIf="iteration.endAt && !iteration.startAt">
End Date: {{ (iteration.endAt | date:longDate)}}
</span>
</div>
</a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
.dropdown-kebab-pf {
.btn-link {
color: @color-pf-white;
margin-left: -30px;
}
.dropdown-menu-right {
right: -10px;
Expand Down

0 comments on commit e3271db

Please sign in to comment.