Merge pull request #878 from coreos-inc/better-scheduled

Better scheduled downtime information
This commit is contained in:
josephschorr 2015-11-20 09:47:22 -05:00
commit 30a552f2c6

View file

@ -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>