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