class for custom boolean columns
This commit is contained in:
parent
66661c6bb6
commit
188937897d
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@
|
|||
</td>
|
||||
<td class="text-center" ng-repeat="col in customFields">
|
||||
<span ng-if="col.type == 'boolean'">
|
||||
<button class="btn btn-link" ng-click="setPersonAttribute(person, col.key, !person[col.key])"><span class="fa fa-lg {{(person[col.key]) && 'fa-check-circle text-success' || 'da-times-circle text-danger'}}"></span></button>
|
||||
<button class="btn btn-link" ng-click="setPersonAttribute(person, col.key, !person[col.key])"><span class="fa fa-lg {{(person[col.key]) && 'fa-check-circle text-success' || 'fa-times-circle text-danger'}}"></span></button>
|
||||
</span>
|
||||
<span ng-if="col.type != 'boolean'">
|
||||
{{person[col.key]}}
|
||||
|
|
Loading…
Reference in a new issue