<div class="widget" ng-show="sla.id">
	<div class="widget-content">
		<div class="headline">
			<h4>SLA</h4>
		</div>
		<table class="sla-table">
			<tbody>
				<tr>
					<td>
						<div class="text-right">
							<span ng-class="{running: checkInitialRunning() }">{[{ getSecondsInitial() | slaTimer }]} <i class="fa-fw" ng-class="{'sla-error': getSecondsInitial() <= 0, 'sla-warning': getSecondsInitial() < 60 * 5 && getSecondsInitial() > 0 && checkInitialRunning(), 'fa fa-check sla-success': initialSucceed(), 'fa fa-clock-o': checkInitialRunning(), 'text-danger fa fa-times': ! checkInitialRunning() && !initialSucceed()}"></i></span>
						</div>
					</td>
					<td><span class="distinct">Time to assign</span> within {[{ sla.time_initial }]} minutes</td>
				</tr>
				<tr>
					<td>
						<div class="text-right">
							<span ng-class="{running: checkFixRunning() }">{[{ getSecondsFix() | slaTimer }]} <i class="fa-fw" ng-class="{'sla-error': getSecondsFix() <= 0, 'sla-warning': getSecondsFix() < 60 * 5 && getSecondsFix() > 0, 'sla-success': getSecondsFix() > 60 * 5 && !checkFixRunning(), 'fa fa-check sla-success': fixSucceed(), 'fa fa-clock-o': checkFixRunning(), 'fa fa-cross': !fixSucceed()}"></i></span>
						</div>
					</td>
					<td><span class="distinct">Time to resolution</span> within {[{ sla.time_fix }]} minutes</td>
				</tr>
			</tbody>
		</table>
	</div>
</div>