Add prefix to topic list of speaker slide

The topics prefix (number) was missing in the list of speakers slide
This commit is contained in:
Sean 2020-07-09 12:56:58 +02:00
parent a7703a5557
commit 2835e746e8
2 changed files with 3 additions and 5 deletions

View File

@ -69,8 +69,7 @@ export class TopicRepositoryService extends BaseIsAgendaItemAndListOfSpeakersCon
};
public getAgendaSlideTitle = (titleInformation: TopicTitleInformation) => {
// Do not append ' (Topic)' to the title.
return this.getTitle(titleInformation);
return this.getAgendaListTitle(titleInformation).title;
};
public getVerboseName = (plural: boolean = false) => {

View File

@ -8,9 +8,8 @@
<!-- Title -->
<div class="title-slot">
<h2>
<span *ngIf="!isCurrentListOfSpeakers && !isSortMode">{{ 'List of speakers' | translate }}</span>
<span *ngIf="isCurrentListOfSpeakers && !isSortMode">{{ 'Current list of speakers' | translate }}</span>
<span *ngIf="isSortMode">{{ 'Sort list of speakers' | translate }}</span>
<span *ngIf="!isCurrentListOfSpeakers">{{ 'List of speakers' | translate }}</span>
<span *ngIf="isCurrentListOfSpeakers">{{ 'Current list of speakers' | translate }}</span>
</h2>
</div>
<div class="menu-slot" *osPerms="['agenda.can_manage_list_of_speakers', 'core.can_manage_projector']">