(html) Use sgAvatarImage directive in Scheduler

This commit is contained in:
Francis Lachapelle
2015-09-04 12:11:20 -04:00
parent 372206e69e
commit 3d4a965412
2 changed files with 7 additions and 4 deletions
@@ -219,12 +219,14 @@
ng-hide="editor.showAttendeesEditor"
readonly="true">
<md-chip-template>
<div class="md-contact-avatar"><img src="#" ng-src="{{$chip.image}}" alt="{{$chip.name}}"/></div>
<div class="md-contact-avatar">
<sg-avatar-image sg-email="$chip.email" size="32"><!-- avatar --></sg-avatar-image>
</div>
<div class="md-contact-name">{{$chip.name}}</div>
<md-icon ng-class="'icon-' + $chip.status"><!-- partstat --></md-icon>
</md-chip-template>
</md-chips>
<div ng-show="editor.showAttendeesEditor" class="sg-subcontent attendees">
<div ng-show="editor.showAttendeesEditor" class="attendees">
<var:component className="UIxAttendeesEditor" />
</div>
<!-- reminder -->
@@ -17,8 +17,9 @@
<div><!-- empty --></div>
</md-list-item>
<md-list-item ng-repeat="currentAttendee in editor.component.attendees track by currentAttendee.email">
<sg-avatar-image sg-email="currentAttendee.email"
size="32"><!-- avatar --></sg-avatar-image>
<sg-avatar-image class="md-tile-left"
sg-email="currentAttendee.email"
size="40"><!-- avatar --></sg-avatar-image>
<div class="sg-tile-content">
<div class="sg-md-subhead-multi">{{currentAttendee.name}}</div>
<div class="sg-md-body-multi">{{currentAttendee.email}}</div>