(html) Fix email addresses of list members

This commit is contained in:
Francis Lachapelle
2016-02-19 16:47:18 -05:00
parent ed4e70faab
commit 1b5970b9bc

View File

@@ -100,9 +100,9 @@
<h3>
<a ui-sref="app.addressbook.card.view({addressbookId: editor.currentFolder.id, cardId: ref.reference})">{{ ref.$fullname() }}</a>
</h3>
<h4 ng-show="ref.email">
<a href="#" ng-bind="ref.email"
ng-click="addressbook.newMessageWithRecipient($event, ref.email, ref.$fullname())"><!-- contact email --></a>
<h4 ng-show="ref.$preferredEmail()">
<a href="#" ng-bind="ref.$preferredEmail()"
ng-click="addressbook.newMessageWithRecipient($event, ref.$preferredEmail(), ref.$fullname())"><!-- contact email --></a>
</h4>
</div>
</md-list-item>