mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-31 19:27:18 +00:00
Reflect attendee type with generic icon
This commit is contained in:
@@ -268,7 +268,7 @@
|
||||
readonly="true">
|
||||
<md-chip-template>
|
||||
<div class="md-contact-avatar">
|
||||
<sg-avatar-image sg-email="$chip.email" size="26">person</sg-avatar-image>
|
||||
<sg-avatar-image sg-email="$chip.email" size="26">{{ editor.defaultIconForAttendee($chip) }}</sg-avatar-image>
|
||||
</div>
|
||||
<div class="md-contact-name">{{$chip.name || $chip.email}}</div>
|
||||
<md-icon ng-class="'icon-' + $chip.partstat"><!-- partstat --></md-icon>
|
||||
|
||||
@@ -53,11 +53,6 @@
|
||||
</md-list-item>
|
||||
<!-- attendees -->
|
||||
<md-list-item ng-repeat="currentAttendee in editor.component.attendees track by currentAttendee.email">
|
||||
<md-button class="md-icon-button"
|
||||
label:aria-label="Delete"
|
||||
ng-click="editor.removeAttendee(currentAttendee, eventForm)">
|
||||
<md-icon>remove_circle</md-icon>
|
||||
</md-button>
|
||||
<md-button class="md-icon-button"
|
||||
label:aria-label="Role"
|
||||
ng-click="editor.component.$attendees.nextRole(currentAttendee)"
|
||||
@@ -70,11 +65,16 @@
|
||||
</md-button>
|
||||
<sg-avatar-image class="md-avatar"
|
||||
sg-email="currentAttendee.email"
|
||||
size="40">person</sg-avatar-image>
|
||||
size="40">{{ editor.defaultIconForAttendee(currentAttendee) }}</sg-avatar-image>
|
||||
<div class="sg-tile-content sg-padded--right">
|
||||
<div class="sg-md-subhead"><div>{{currentAttendee.name}}</div></div>
|
||||
<div class="sg-md-body"><div>{{currentAttendee.email}}</div></div>
|
||||
</div>
|
||||
<md-button class="md-icon-button"
|
||||
label:aria-label="Delete"
|
||||
ng-click="editor.removeAttendee(currentAttendee, eventForm)">
|
||||
<md-icon>close</md-icon>
|
||||
</md-button>
|
||||
<md-divider><!-- divider --></md-divider>
|
||||
</md-list-item>
|
||||
</md-list>
|
||||
|
||||
Reference in New Issue
Block a user