{{ T + '.TITLE' | translate }} @if (rows.length) { {{ rows.length }} }
{{ T + '.CAPTION' | translate }}
@if (rows.length) { } @if (canChangeContacts) { }
@if (visibleRows.length) {
{{ T + '.COLUMNS.CONTACT' | translate }} {{ T + '.COLUMNS.TYPE' | translate }} {{ T + '.COLUMNS.PROJECTS' | translate }}
    @for (row of visibleRows; track row.id) {
  • @if (row.imageUrl) { } @else { } @if (canOpenContact) { {{ row.name }} } @else { {{ row.name }} } @if (row.email || row.phone) { @if (row.email) { {{ row.email }} } @if (row.phone) { {{ row.phone }} } } @if (row.type) { {{ row.type.key | translate }} } @else { — } @if (row.projectNames.length) { {{ row.projectNames[0] }} @if (row.projectNames.length > 1) { +{{ row.projectNames.length - 1 }} } } @else { — } @if (canOpenContact) { } @if (canChangeContacts) { }
  • }
{{ T + '.SHOWING' | translate: { count: visibleRows.length, total: rows.length } }}
} @else if (rows.length) {

{{ T + '.NO_MATCH' | translate: { term: searchTerm } }}

} @else if (!loading) {

{{ T + '.EMPTY_TITLE' | translate }}

{{ T + '.EMPTY_TEXT' | translate }}

@if (canChangeContacts) { }
}
{{ T + '.ASSIGN_DIALOG_TITLE' | translate }}
{{ T + '.ASSIGN_DIALOG_SUBTITLE' | translate: { employee: employeeName } }}
@if (assignOptions.length) { }
@if (!assignOptions.length) { @if (optionsFailed) {

{{ T + '.LOAD_FAILED' | translate }}

} @else if (optionsLoading) {
} @else if (assignSearch.trim()) {

{{ T + '.NO_MATCH_PICKER' | translate }}

} @else {

{{ T + '.ALL_ASSIGNED' | translate }}

} } @else {
    @for (row of assignOptions; track row.id) {
  • }
@if (optionsLoading) {
} @else if (optionsFailed) {
{{ T + '.LOAD_FAILED' | translate }}
} @else if (hasMoreOptions) {
} }
@if (assignSelection.size) { {{ T + '.SELECTED_COUNT' | translate: { count: assignSelection.size } }} }
{{ T + '.REMOVE_TITLE' | translate }}
@if (row.imageUrl) { } @else { } {{ row.name }} @if (row.type || row.email) { @if (row.type) { {{ row.type.key | translate }} } @if (row.email) { {{ row.email }} } }

{{ T + '.REMOVE_MESSAGE' | translate: { employee: employeeName, contact: row.name } }}

{{ T + '.REMOVE_HINT' | translate }}