3 class="contact-trigger-dialog"
4 aria-label="Select contact"
6 <md-toolbar class="red-bg">
8 class="md-toolbar-tools"
10 layout-align="space-between center"
12 <span class="title">{{ 'DASHBOARDS.SELECT_CONTACT' | translate }}</span>
15 <md-dialog-content class="h-400 pv-16" ms-scroll>
16 <div layout="row" class="p-10">
17 <span class="font-size-16"
18 >{{ 'DASHBOARDS.MULTIPLE_CONTACTS_FOUND' | translate }}<strong
19 > {{ vm.callNumber }}</strong
22 <span class="font-size-16"
23 > {{ 'DASHBOARDS.WHICH_ONE_TO_USE' | translate }}</span
30 ng-class="vm.paginatedContacts[vm.page - 1].length > 2 ? 'two-rows-layout' : 'one-row-layout'"
34 ng-repeat="contact in vm.paginatedContacts[vm.page - 1]"
42 ng-click="vm.selectedContact = contact;"
43 ng-class="{ 'light-blue-50-bg' : vm.selectedContact && vm.selectedContact.id === contact.id }"
46 <md-card-title class="pt-16">
47 <md-card-title-text layout-align="center start">
48 <span class="font-size-16 text-bold"
49 >#{{ contact.id }} - {{ contact.firstName }} {{ contact.lastName
52 <em class="font-size-12"
53 >{{ 'DASHBOARDS.LAST_UPDATED' | translate }}: {{
54 contact.updatedAt }}</em
56 <span class="font-size-12"
57 >{{ 'DASHBOARDS.LIST' | translate }}: {{
58 vm.lists[contact.ListId] }}</span
61 <md-button class="md-icon-button no-margin" aria-label="Selected">
63 md-font-icon="{{ vm.selectedContact && vm.selectedContact.id === contact.id ? 'icon-checkbox-marked-circle' : 'icon-checkbox-blank-circle-outline' }}"
64 ng-class="{ 'green-fg': vm.selectedContact && vm.selectedContact.id === contact.id }"
68 <md-divider></md-divider>
71 layout-align="center start"
74 <span class="font-size-16"
75 >{{ 'DASHBOARDS.MATCHING_FIELD' | translate }}:
76 <strong>{{ contact.matchingField }}</strong>
83 <md-dialog-actions layout="row">
85 ng-if="vm.paginatedContacts.length > 1"
87 layout-align="center center"
91 ng-click="vm.page = vm.page - 1;"
92 class="md-icon-button no-margin"
93 ng-class="{ 'hidden': vm.page <= 1 }"
94 aria-label="Previous page"
96 <md-icon md-font-icon="icon-chevron-double-left"></md-icon>
99 >{{ 'DASHBOARDS.PAGE' | translate }} {{ vm.page }} {{ 'DASHBOARDS.OF' |
100 translate }} {{ vm.paginatedContacts.length }}</span
103 ng-click="vm.page = vm.page + 1;"
104 class="md-icon-button no-margin"
105 ng-class="{ 'hidden': !vm.paginatedContacts[vm.page] }"
106 aria-label="Next page"
108 <md-icon md-font-icon="icon-chevron-double-right"></md-icon>
112 ng-click="vm.selectContact()"
113 class="select-button md-accent md-raised"
114 ng-disabled="!vm.selectedContact"
116 translate="DASHBOARDS.SELECT"
117 translate-attr-aria-label="DASHBOARDS.SELECT"
121 </md-dialog-actions> </md-dialog