admin: make claims more responsive
This commit is contained in:
parent
80a4192cb4
commit
56b79cae2d
@ -1040,7 +1040,7 @@ angular.module("FICApp")
|
|||||||
$scope.assignees = ClaimAssignee.query();
|
$scope.assignees = ClaimAssignee.query();
|
||||||
$scope.whoami = getCookie("myassignee");
|
$scope.whoami = getCookie("myassignee");
|
||||||
$scope.teams = Teams.get();
|
$scope.teams = Teams.get();
|
||||||
$scope.fields = ["id", "state", "subject", "creation", "id_team", "id_assignee"];
|
$scope.fields = ["subject", "id_team", "state", "id_assignee", "creation", "id"];
|
||||||
|
|
||||||
$scope.order = "priority";
|
$scope.order = "priority";
|
||||||
$scope.chOrder = function(no) {
|
$scope.chOrder = function(no) {
|
||||||
|
@ -4,8 +4,8 @@
|
|||||||
<div class="col-lg-7">
|
<div class="col-lg-7">
|
||||||
|
|
||||||
<div class="form-group row" ng-repeat="field in fields">
|
<div class="form-group row" ng-repeat="field in fields">
|
||||||
<label for="{{ field }}" class="col-sm-2 col-form-label col-form-label-sm text-right">{{ namedFields[field] }}</label>
|
<label for="{{ field }}" class="col-2 col-form-label col-form-label-sm">{{ namedFields[field] }}</label>
|
||||||
<div class="col-sm-10">
|
<div class="col-10">
|
||||||
<input type="text" class="form-control form-control-sm" id="{{ field }}" ng-model="claim[field]" ng-if="field != 'state' && field != 'priority' && field != 'creation' && field != 'id_team' && field != 'id_assignee' && field != 'description'">
|
<input type="text" class="form-control form-control-sm" id="{{ field }}" ng-model="claim[field]" ng-if="field != 'state' && field != 'priority' && field != 'creation' && field != 'id_team' && field != 'id_assignee' && field != 'description'">
|
||||||
<input type="datetime" class="form-control form-control-sm" id="{{ field }}" ng-model="claim[field]" ng-if="field == 'creation' && claim.id">
|
<input type="datetime" class="form-control form-control-sm" id="{{ field }}" ng-model="claim[field]" ng-if="field == 'creation' && claim.id">
|
||||||
<select class="custom-select custom-select-sm" id="{{ field }}" ng-model="claim[field]" ng-options="k as v for (k, v) in states" ng-if="field == 'state'"></select>
|
<select class="custom-select custom-select-sm" id="{{ field }}" ng-model="claim[field]" ng-options="k as v for (k, v) in states" ng-if="field == 'state'"></select>
|
||||||
|
Loading…
Reference in New Issue
Block a user