|
@@ -9,28 +9,24 @@
|
|
|
[ngClass]="{ selected: indexList.includes(index) }"
|
|
|
(click)="toggleSpellSelection(index)"
|
|
|
>
|
|
|
- @if (translate.getDefaultLang() == "de") {
|
|
|
- {{ spell.german }}
|
|
|
- } @else {
|
|
|
- {{ spell.english }}
|
|
|
- }
|
|
|
+ <div class="spell-name">
|
|
|
+ @if (translate.getDefaultLang() == "de") {
|
|
|
+ {{ spell.german }}
|
|
|
+ } @else {
|
|
|
+ {{ spell.english }}
|
|
|
+ }
|
|
|
+ </div>
|
|
|
+ <div class="spell-level">
|
|
|
+ {{ "spellbook.favorites.levels." + spell.level | translate }}
|
|
|
+ </div>
|
|
|
+ <div class="spell-school">
|
|
|
+ {{ "schools." + spell.school | translate }}
|
|
|
+ </div>
|
|
|
</div>
|
|
|
}
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="button-container">
|
|
|
- <!-- <ui-button
|
|
|
- [color]="'red'"
|
|
|
- [width]="'w15'"
|
|
|
- [type]="'deleteSelected'"
|
|
|
- (click)="delete()"
|
|
|
- ></ui-button> -->
|
|
|
- <!-- <ui-button
|
|
|
- [color]="'red'"
|
|
|
- [width]="'w15'"
|
|
|
- [type]="'cancel'"
|
|
|
- (click)="cancel()"
|
|
|
- ></ui-button> -->
|
|
|
<button
|
|
|
[class]="indexList.length === 0 ? 'disabled' : ''"
|
|
|
(click)="indexList.length !== 0 ? delete() : ''"
|