Skip to content

Commit

Permalink
Merge pull request #11581 from tunbola/CRM-21704
Browse files Browse the repository at this point in the history
CRM-21704: Do not allow Reserved Case Types to be Disabled/Deleted
  • Loading branch information
colemanw authored Feb 4, 2018
2 parents b9cfc00 + f3c160c commit c5f527d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ang/crmCaseType/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ <h1 crm-page-title>{{ts('Case Types')}}</h1>
{{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)">
Expand All @@ -57,7 +57,7 @@ <h1 crm-page-title>{{ts('Case Types')}}</h1>
{{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)">
Expand Down

0 comments on commit c5f527d

Please sign in to comment.