{{ 'spellCatalog.title' | translate }}

{{ 'spellCatalog.hint' | translate }}

@for (v of views; track v) { }
@if (view === 'catalog') {
@if (levels.length > 1) { } @if (schools.length > 1) { } @if (!proposing) { }
@if (proposing) { } @if (spells.length > 0) {
@if (filtering) { {{ 'spellCatalog.countFiltered' | translate:{ shown: visibleSpells.length, total: spells.length } }} } @else { {{ (spells.length === 1 ? 'spellCatalog.countOne' : 'spellCatalog.countMany') | translate:{ count: spells.length } }} } @if (spells.length > 1) { }
}
@for (spell of visibleSpells; track spell; let i = $index) {
@if (spell.collapsed) { } @else { }
@if (!spell.collapsed) {
@for (field of fields; track field.name) { }
@if (fields.length === 0) {

{{ 'spellCatalog.noFieldsHint' | translate }}

}
}
} @if (spells.length === 0) {

{{ 'spellCatalog.empty' | translate }}

} @else if (visibleSpells.length === 0) {

{{ 'spellCatalog.noMatch' | translate }}

}
} @if (view === 'fields') {

{{ 'spellCatalog.fieldsRenameHint' | translate }}

}