@switch (type()) { @case ('welcome-dashboard') {

{{ 'HOME.PLAYLISTS.WELCOME_TITLE' | translate }}

{{ 'HOME.PLAYLISTS.DASHBOARD_WELCOME_TAGLINE' | translate }}

{{ 'HOME.PLAYLISTS.DASHBOARD_WELCOME_DESCRIPTION' | translate }}

} @case ('welcome-sources') {
playlist_add

{{ 'HOME.PLAYLISTS.SOURCES_WELCOME_TITLE' | translate }}

{{ 'HOME.PLAYLISTS.SOURCES_WELCOME_BODY' | translate }}

@for (card of sourceCards; track card.type) {
{{ card.icon }}

{{ card.nameKey | translate }}

{{ card.needsKey | translate }}

    @for (chip of card.contentKeys; track chip) {
  • {{ chip | translate }}
  • }
}
} @case ('no-results') {

{{ 'HOME.PLAYLISTS.NO_RESULTS_TITLE' | translate }}

{{ 'HOME.PLAYLISTS.NO_RESULTS_DESCRIPTION' | translate }}

} @case ('no-data') {
{{ icon() }}
@if (titleKey()) {

{{ titleKey() | translate }}

} @if (descriptionKey()) {

{{ descriptionKey() | translate }}

} @if (primaryActionLabelKey() || secondaryActionLabelKey()) {
@if (primaryActionLabelKey(); as primaryLabel) { } @if (secondaryActionLabelKey(); as secondaryLabel) { }
}
} }