-->
<h1 crm-page-title>{{ts('Case Types')}}</h1>
+<div class="help">
+ {{ts('A Case Type describes a group of related tasks, interactions, or processes.')}}
+</div>
+
<div class="crm-content-block crm-block">
- <div class="help">
- {{ts('A Case Type describes a group of related tasks, interactions, or processes.')}}
- </div>
<table class="display">
<thead>
<span>
<a class="action-item crm-hover-button" ng-href="#/caseType/{{caseType.id}}">{{ts('Edit')}}</a>
- <span class="btn-slide crm-hover-button">
+ <span class="btn-slide crm-hover-button" ng-show="!caseType.is_reserved || (!caseType.is_active || caseType.is_forked)">
{{ts('more')}}
<ul class="panel" style="display: none;">
<li ng-hide="caseType.is_active">
{{ts('Enable')}}
</a>
</li>
- <li ng-show="caseType.is_active">
+ <li ng-show="caseType.is_active && !caseType.is_reserved">
<a class="action-item crm-hover-button"
crm-confirm="{type: 'disable', obj: caseType}"
on-yes="toggleCaseType(caseType)">
{{ts('Revert')}}
</a>
</li>
- <li>
+ <li ng-show="!caseType.is_reserved">
<a class="action-item crm-hover-button"
crm-confirm="{type: 'delete', obj: caseType}"
on-yes="deleteCaseType(caseType)">