2 Controller: CaseTypeCtrl
3 Required vars: caseType
5 <div class=
"crm-block crm-form-block crmCaseType">
6 <div class=
"crm-submit-buttons">
7 <a ng-click=
"save()" class=
"button"><span>Save
</span></a>
8 <a ng-href=
"#/caseType" class=
"button"><span>Cancel
</span></a>
11 <div ng-include=
"partialUrl('caseTypeDetails.html')"></div>
15 <div ng-include=
"partialUrl('rolesTable.html')"></div>
19 <div class=
"crmCaseType-acttab" ui-jq=
"tabs" ui-options=
"{show: true, hide: true}">
21 <li><a href=
"#acttab-actType">Activity Types
</a></li>
22 <li ng-repeat=
"activitySet in caseType.definition.activitySets">
23 <a href=
"#acttab-{{$index}}">{{ activitySet.label }}
</a>
24 <span class=
"ui-icon ui-icon-trash" title=
"Remove"
25 ng-click=
"removeItem(caseType.definition.activitySets, activitySet)">Remove
</span>
27 <a class="crm-hover-button" ng-click="removeItem(caseType.definition.activitySets, activitySet)">
28 <span class="ui-icon delete-icon" title="Remove">Remove</span>
32 <select ng-model=
"newActivitySetWorkflow" ng-change=
"addActivitySet(newActivitySetWorkflow); newActivitySetWorkflow='';">
33 <option value=
"">(Add)
</option>
34 <option value=
"timeline" ng-show=
"isNewActivitySetAllowed('timeline')">Timeline
</option>
35 <option value=
"sequence" ng-show=
"isNewActivitySetAllowed('sequence')">Sequence
</option>
39 <div id=
"acttab-actType">
40 <div ng-include=
"partialUrl('activityTypesTable.html')"></div>
43 <div ng-repeat=
"activitySet in caseType.definition.activitySets" id=
"acttab-{{$index}}">
44 <div ng-include=
"activityTableTemplate(activitySet)"></div>
46 <div class=
"crm-accordion-wrapper collapsed">
47 <div class=
"crm-accordion-header">Advanced
</div>
48 <div class=
"crm-accordion-body" ng-include=
"partialUrl('activitySetDetails.html')"></div>
53 <!--<button ng-click="dump()">Log</button>-->
54 <div class=
"crm-submit-buttons">
55 <a ng-click=
"save()" class=
"button"><span>Save
</span></a>
56 <a ng-href=
"#/caseType" class=
"button"><span>Cancel
</span></a>