summaryrefslogtreecommitdiff
path: root/www/crm/wp-content/plugins/civicrm/civicrm/ang/crmCaseType/sequenceTable.html
diff options
context:
space:
mode:
Diffstat (limited to 'www/crm/wp-content/plugins/civicrm/civicrm/ang/crmCaseType/sequenceTable.html')
-rw-r--r--www/crm/wp-content/plugins/civicrm/civicrm/ang/crmCaseType/sequenceTable.html41
1 files changed, 41 insertions, 0 deletions
diff --git a/www/crm/wp-content/plugins/civicrm/civicrm/ang/crmCaseType/sequenceTable.html b/www/crm/wp-content/plugins/civicrm/civicrm/ang/crmCaseType/sequenceTable.html
new file mode 100644
index 00000000..e07a11bd
--- /dev/null
+++ b/www/crm/wp-content/plugins/civicrm/civicrm/ang/crmCaseType/sequenceTable.html
@@ -0,0 +1,41 @@
+<!--
+Controller: CaseTypeCtrl
+Required vars: activitySet
+-->
+<table>
+ <thead>
+ <tr>
+ <th></th>
+ <th>{{ts('Activity')}}</th>
+ <th></th>
+ </tr>
+ </thead>
+
+ <tbody ui-sortable ng-model="activitySet.activityTypes">
+ <tr ng-repeat="activity in activitySet.activityTypes">
+ <td>
+ <i class="crm-i fa-arrows grip-n-drag"></i>
+ </td>
+ <td>
+ <i class="crm-i {{ activityTypes[activity.name].icon }}"></i>
+ {{ activity.name }}
+ </td>
+ <td>
+ <a crm-icon="fa-trash" class="crm-hover-button" ng-click="removeItem(activitySet.activityTypes, activity)" title="{{ts('Remove')}}"></a>
+ </td>
+ </tr>
+ </tbody>
+
+ <tfoot>
+ <tr class="addRow">
+ <td colspan="3">
+ <span crm-add-name
+ crm-options="activityTypeOptions"
+ crm-var="newActivity"
+ crm-on-add="addActivity(activitySet, newActivity)"
+ placeholder="{{ts('Add activity')}}"
+ ></span>
+ </td>
+ </tr>
+ </tfoot>
+</table>