Skip to content

Commit

Permalink
CRM-21704: Do not allow reserved Case Types to be disabled/deleted on…
Browse files Browse the repository at this point in the history
… Case Types Listing page.
  • Loading branch information
tunbola committed Jan 24, 2018
1 parent 62d684a commit f3c160c
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 f3c160c

Please sign in to comment.