CRM-14798 - crmCaseType/list.html - Fix enabled/disabled labels
authorTim Otten <totten@civicrm.org>
Fri, 27 Jun 2014 03:24:12 +0000 (20:24 -0700)
committerTim Otten <totten@civicrm.org>
Fri, 27 Jun 2014 03:24:12 +0000 (20:24 -0700)
partials/crmCaseType/list.html

index 0383371bc0272eb6c6b68008d67836605c1843cb..ee4fc37df3a4cd7606f41ab200acff46659561f4 100644 (file)
@@ -21,8 +21,8 @@ Required vars: caseTypes
            <td>{{caseType.title}}</td>
            <td>{{caseType.name}}</td>
            <td>{{caseType.description}}</td>
-           <td>{{caseType.is_active}}</td>
-           <td><a ng-href="#/caseType/{{caseType.id}}">Edit</a</td>
+           <td>{{caseType.is_active == 1 ? 'Yes' : 'No'}}</td>
+           <td><a ng-href="#/caseType/{{caseType.id}}">Edit</a></td>
        </tr>
        </tbody>
 </table>