(html) Fix email addresses of list members

pull/201/head
Francis Lachapelle 2016-02-19 16:47:18 -05:00
parent ed4e70faab
commit 1b5970b9bc
1 changed files with 3 additions and 3 deletions

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>