Merge pull request #878 from coreos-inc/better-scheduled
Better scheduled downtime information
This commit is contained in:
commit
30a552f2c6
1 changed files with 11 additions and 0 deletions
|
@ -8,6 +8,17 @@
|
|||
|
||||
<div ng-repeat="scheduled in scheduled_maintenances">
|
||||
<i class="fa fa-calendar" style="margin-right: 6px;"></i>
|
||||
<span ng-switch on="scheduled.status" style="vertical-align: middle">
|
||||
<span ng-switch-when="scheduled">
|
||||
Scheduled for {{ scheduled.scheduled_for | amDateFormat:'dddd, MMMM Do YYYY, h:mm A' }}:
|
||||
</span>
|
||||
<b ng-switch-when="in_progress" style="color: #FDFFB9;">
|
||||
In progress:
|
||||
</b>
|
||||
<b ng-switch-when="verifying" style="color: #FDFFB9;">
|
||||
In progress:
|
||||
</b>
|
||||
</span>
|
||||
<a ng-href="{{ scheduled.shortlink }}" class="quay-service-status-description">{{ scheduled.name }}</a>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Reference in a new issue