summaryrefslogtreecommitdiff
path: root/www/crm/wp-content/plugins/civicrm/civicrm/ang/crmCaseType/statusTable.html
blob: 890989a3b01baf42c5c4a4dda459f134db695a0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<!--
Controller: CaseTypeCtrl
Required vars: selectedStatuses
-->
<table>
  <thead>
  <tr>
    <th></th>
    <th>{{ts('Name')}}</th>
    <th>{{ts('Class')}}</th>
  </tr>
  </thead>

  <tbody ng-model="selectedStatuses">
  <tr ng-repeat="(status,sel) in selectedStatuses">
    <td>
      <input class="crm-form-checkbox" type="checkbox" ng-model="selectedStatuses[status]"/>
    </td>
    <td>
      {{ caseStatuses[status].label }}
    </td>
    <td>
      {{ caseStatuses[status].grouping }}
    </td>
  </tr>
  </tbody>

  <tfoot>
  <tr>
    <td></td>
    <td><a class="crm-hover-button action-item" ng-click="newStatus()" href><i class="crm-i fa-plus"></i> {{ ts('New Status') }}</a></td>
    <td></td>
  </tr>
  </tfoot>
</table>