(js) Improve sgAvatarImage

This commit is contained in:
Francis Lachapelle committed 2016-11-11 16:46:55 -05:00
1 parent 0a75f5c4f7
commit 3bbd61cfd2
18 files changed
+45 -68

No files matched your search

@@ -266,7 +266,7 @@
readonly="true">
<md-chip-template>
<div class="md-contact-avatar">
<sg-avatar-image sg-email="$chip.email" size="32"><!-- avatar --></sg-avatar-image>
<sg-avatar-image sg-email="$chip.email" size="32">person</sg-avatar-image>
</div>
<div class="md-contact-name">{{$chip.name || $chip.email}}</div>
<md-icon ng-class="'icon-' + $chip.partstat"><!-- partstat --></md-icon>
@@ -19,7 +19,7 @@
<md-list-item ng-repeat="currentAttendee in editor.component.attendees track by currentAttendee.email">
<sg-avatar-image class="md-avatar"
sg-email="currentAttendee.email"
size="40"><!-- avatar --></sg-avatar-image>
size="40">person</sg-avatar-image>
<div class="sg-tile-content">
<div class="sg-md-subhead"><div>{{currentAttendee.name}}</div></div>
<div class="sg-md-body"><div>{{currentAttendee.email}}</div></div>