|
@@ -62,16 +62,16 @@
|
|
|
<p ng-if="person.company || person.job"><i ng-if="person.job">{{person.job}}</i><span ng-if="person.company && person.job"> @ </span><i ng-if="person.company">{{person.company}}</i></p>
|
|
|
</td>
|
|
|
<td>
|
|
|
- <button class="btn btn-link" name="switch-attended" ng-click="setPersonAttribute(person, 'attended', !person.attended)"><span class="glyphicon {{(person.attended) && 'glyphicon-ok-sign text-success' || 'glyphicon-remove-sign text-danger'}}"></span></button>
|
|
|
+ <button class="btn btn-link" reset-focus name="switch-attended" ng-click="setPersonAttributeAndRefocus(person, 'attended', !person.attended)"><span class="glyphicon {{(person.attended) && 'glyphicon-ok-sign text-success' || 'glyphicon-remove-sign text-danger'}}"></span></button>
|
|
|
+ </td>
|
|
|
+ <td 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="glyphicon {{(person[col.key]) && 'glyphicon-ok-sign text-success' || 'glyphicon-remove-sign text-danger'}}"></span></button>
|
|
|
+ </span>
|
|
|
+ <span ng-if="col.type != 'boolean'">
|
|
|
+ {{person[col.key]}}
|
|
|
+ </span>
|
|
|
</td>
|
|
|
- <td 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="glyphicon {{(person[col.key]) && 'glyphicon-ok-sign text-success' || 'glyphicon-remove-sign text-danger'}}"></span></button>
|
|
|
- </span>
|
|
|
- <span ng-if="col.type != 'boolean'">
|
|
|
- {{person[col.key]}}
|
|
|
- </span>
|
|
|
- </td>
|
|
|
<td>
|
|
|
<button ng-click="removeAttendee(person)" type="button" class="btn btn-link glyphicon glyphicon-trash"></button>
|
|
|
</td>
|