diff options
author | Hendrik Leppelsack <hendrik@leppelsack.de> | 2016-03-03 10:35:15 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2016-03-04 09:04:02 +0100 |
commit | d47c9870fab6f3880030b9234a3f8b22a3bcbf3e (patch) | |
tree | e9b39342f9f6402713523244316b11681233fabb /templates/contactDetails.html | |
parent | edbfa39947b12ef88da9b1bf6ed44a8d16837600 (diff) |
remove getSingleProperties()
Diffstat (limited to 'templates/contactDetails.html')
-rw-r--r-- | templates/contactDetails.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/contactDetails.html b/templates/contactDetails.html index aa8c9241..9b03dc1c 100644 --- a/templates/contactDetails.html +++ b/templates/contactDetails.html @@ -13,7 +13,9 @@ <button ng-click="ctrl.deleteContact()" class="icon-delete-white" title="Delete"></button> </header> <section> - <detailsItem ng-repeat="prop in ctrl.singleProperties" name="prop.name" data="prop.data" model="ctrl" index="prop.index" ng-class="[ 'details-item-' + prop.name ]"></detailsItem> + <div ng-repeat="(propName, prop) in ctrl.contact.props"> + <detailsItem ng-repeat="propData in prop" name="propName" data="propData" model="ctrl" index="$index" ng-class="[ 'details-item-' + prop.name ]"></detailsItem> + </div> <div class="select-addressbook" ng-if="addressBooks.length > 1"> <select ng-model="addressBook" ng-change="ctrl.changeAddressBook(addressBook)" ng-options="book.id for book in addressBooks track by book.id"> </select> |