iss #19 - Friendly names for SLA properties.
This commit is contained in:
@@ -68,7 +68,7 @@
|
||||
<select class="tight-form-input input-medium"
|
||||
ng-change="selectSLAProperty()"
|
||||
ng-model="target.slaProperty"
|
||||
ng-options="slaProperty for slaProperty in slaPropertyList track by slaProperty">
|
||||
ng-options="slaProperty.name for slaProperty in slaPropertyList track by slaProperty.name">
|
||||
<option value="">-- SLA property --</option>
|
||||
</select>
|
||||
</li>
|
||||
|
||||
@@ -15,10 +15,10 @@ function (angular, _) {
|
||||
$scope.targetLetters = targetLetters;
|
||||
if ($scope.target.ITService) {
|
||||
$scope.slaPropertyList = [
|
||||
"sla",
|
||||
"okTime",
|
||||
"problemTime",
|
||||
"downtimeTime"
|
||||
{name: "SLA", property: "sla"},
|
||||
{name: "OK time", property: "okTime"},
|
||||
{name: "Problem time", property: "problemTime"},
|
||||
{name: "Down time", property: "downtimeTime"}
|
||||
];
|
||||
$scope.itserviceList = [{name: "test"}];
|
||||
$scope.updateITServiceList();
|
||||
|
||||
Reference in New Issue
Block a user