Commit | Line | Data |
---|---|---|
7c2b40d1 CW |
1 | <!-- |
2 | Controller: CaseTypeCtrl | |
3 | Required vars: selectedStatuses | |
4 | --> | |
5 | <table> | |
6 | <thead> | |
7 | <tr> | |
8 | <th></th> | |
9 | <th>{{ts('Name')}}</th> | |
10 | <th>{{ts('Class')}}</th> | |
11 | </tr> | |
12 | </thead> | |
13 | ||
14 | <tbody ng-model="selectedStatuses"> | |
15 | <tr ng-repeat="(status,sel) in selectedStatuses"> | |
16 | <td> | |
17 | <input class="crm-form-checkbox" type="checkbox" ng-model="selectedStatuses[status]"/> | |
18 | </td> | |
19 | <td> | |
20 | {{ caseStatuses[status].label }} | |
21 | </td> | |
22 | <td> | |
23 | {{ caseStatuses[status].grouping }} | |
24 | </td> | |
25 | </tr> | |
26 | </tbody> | |
27 | ||
28 | <tfoot> | |
29 | <tr> | |
30 | <td></td> | |
31 | <td><a class="crm-hover-button action-item" ng-click="newStatus()" href><i class="crm-i fa-plus"></i> {{ ts('New Status') }}</a></td> | |
32 | <td></td> | |
33 | </tr> | |
34 | </tfoot> | |
35 | </table> |