Merge pull request #16488 from mattwire/quickform_requiredfields
[civicrm-core.git] / ang / crmCaseType / statusTable.html
CommitLineData
7c2b40d1
CW
1<!--
2Controller: CaseTypeCtrl
3Required vars: selectedStatuses
4-->
5<table>
6 <thead>
7 <tr>
8 <th></th>
f9c5f498
CW
9 <th>{{:: ts('Name') }}</th>
10 <th>{{:: ts('Class') }}</th>
7c2b40d1
CW
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>
13a3d214 31 <td><a class="crm-hover-button action-item" ng-click="newStatus()" href><i class="crm-i fa-plus" aria-hidden="true"></i> {{:: ts('New Status') }}</a></td>
7c2b40d1
CW
32 <td></td>
33 </tr>
34 </tfoot>
35</table>