@if (categoryNameControlVisible) {
{{ 'CATEGORIES_MANAGEMENT.CATEGORIES_SEARCH_PLACEHOLDER' | translate }}
@if (categoryNameControl.invalid && categoryNameControl.touched) {
{{ categoryNameErrorMessageKey | translate }}
}
}
@if (categories && categories.length > 0) {
@for (category of categories; track category.id) {
{{ category.name }}
}
}
@if (showEmptyCategoryMessage) {
{{ noCategoriesMsg | translate }}
}
@if (existingCategoriesPanelVisible) {
@if (isCRUDMode && (!existingCategoriesLoading || existingCategories)) {
{{ 'CATEGORIES_MANAGEMENT.GENERIC_CREATE' | translate : { name: categoryNameControl.value } }}
}
@if (categoryNameControlVisible) {
@if (!existingCategoriesLoading && existingCategories) {
{{ existingCategoriesMsg | translate }}
0"
class="adf-categories-management-list">
@for (category of existingCategories; track category.id) {
{{ category.name }}
}
@if (!existingCategories?.length && !existingCategoriesLoading) {
{{ 'CATEGORIES_MANAGEMENT.NO_EXISTING_CATEGORIES' | translate }}
}
}
@if (existingCategoriesLoading) {
}
}
}