@if (appearance === 'bar') { @if (!opened) {
} @if (opened) {
@if (resultSets && !resultSets.length) { No results found! } @for ( resultSet of resultSets; track trackByFn($index, resultSet) ) { {{ resultSet.label.toUpperCase() }} @for ( result of resultSet.results; track trackByFn($index, result) ) { @if (resultSet.id === 'contacts') { } @if (resultSet.id === 'pages') { } @if (resultSet.id === 'tasks') { } } }
} } @if (appearance === 'basic') {
@if (resultSets && !resultSets.length) { No results found! } @for (resultSet of resultSets; track trackByFn($index, resultSet)) { {{ resultSet.label.toUpperCase() }} @for ( result of resultSet.results; track trackByFn($index, result) ) { @if (resultSet.id === 'contacts') { } @if (resultSet.id === 'pages') { } @if (resultSet.id === 'tasks') { } } }
}
@if (result.avatar) { } @if (!result.avatar) { }
{{ result.link }}
@if (result.completed) { } @if (!result.completed) { }