Skip to content

Commit

Permalink
Redesign election ballots (#2214)
Browse files Browse the repository at this point in the history
  • Loading branch information
luisa-beerboom authored Jun 25, 2024
1 parent c83f003 commit 0a160f2
Show file tree
Hide file tree
Showing 33 changed files with 1,325 additions and 1,495 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -329,11 +329,14 @@ export class UserRepositoryService extends BaseRepository<ViewUser, User> {
}

private getLevelAndNumber(user: LevelAndNumberInformation): string {
const strings: string[] = [];
if (user.structureLevels()) {
strings.push(user.structureLevels());
}
if (user.number()) {
return `${this.translate.instant(`No.`)} ${user.number()}`;
} else {
return ``;
strings.push(`${this.translate.instant(`No.`)} ${user.number()}`);
}
return strings.join(` · `);
}

public getVerboseName = (plural = false): string => this.translate.instant(plural ? `Participants` : `Participant`);
Expand Down

This file was deleted.

Loading

0 comments on commit 0a160f2

Please sign in to comment.