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