Merge pull request #5667 from JKingsnorth/CRM-16328
[civicrm-core.git] / ang / crmCaseType / sequenceTable.html
CommitLineData
4c58e251
TO
1<!--
2Controller: CaseTypeCtrl
3Required vars: activitySet
4-->
5<table>
6 <thead>
7 <tr>
7abbf317 8 <th>{{ts('Activity')}}</th>
4c58e251
TO
9 <th></th>
10 </tr>
11 </thead>
12
c45daff0 13 <tbody ui-sortable ng-model="activitySet.activityTypes">
4c58e251 14 <tr ng-repeat="activity in activitySet.activityTypes">
c45daff0
TO
15 <td>
16 <span class="icon ui-icon-grip-dotted-vertical"></span>
17 {{ activity.name }}
18 </td>
4c58e251 19 <td>
7abbf317 20 <a crm-icon="trash" class="crm-hover-button" ng-click="removeItem(activitySet.activityTypes, activity)" title="{{ts('Remove')}}"></a>
4c58e251
TO
21 </td>
22 </tr>
c45daff0
TO
23 </tbody>
24
25 <tfoot>
95fd24c0
TO
26 <tr class="addRow">
27 <td colspan="3">
7abbf317 28 {{ts('Add activity:')}}
8b3f1203 29 <span crm-add-name
95fd24c0
TO
30 crm-options="activityTypeNames"
31 crm-var="newActivity"
32 crm-on-add="addActivity(activitySet, newActivity)"
33 />
34 </td>
35 </tr>
c45daff0 36 </tfoot>
4c58e251 37</table>