Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,18 @@ <h1>
</h1>
}

<app-notice type="primary" mode="fill-dark">
@for (entry of ntDraftingNotice | async; track $index) {
@if (entry.id == null) {
{{ entry.text }}
}
@if (entry.id === 1) {
<a [href]="urlService.newTestamentDrafting" target="_blank">{{ entry.text }}</a>
@if (showNtDraftingNotice) {
<app-notice type="primary" mode="fill-dark">
@for (entry of ntDraftingNotice | async; track $index) {
@if (entry.id == null) {
{{ entry.text }}
}
@if (entry.id === 1) {
<a [href]="urlService.newTestamentDrafting" target="_blank">{{ entry.text }}</a>
}
}
}
</app-notice>
</app-notice>
}

<section>
@if (isDraftJobFetched && !isDraftInProgress(draftJob) && !hasAnyCompletedBuild) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ export class DraftGenerationComponent extends DataLoadingComponent implements On
// This component url, but with a hash for opening a dialog
supportedLanguagesUrl: RouterLink = { route: [], fragment: 'supported-languages' };
draftHelp = this.i18n.interpolate('draft_generation.instructions_help');
showNtDraftingNotice = new Date() < new Date('2026-05-25');
ntDraftingNotice = this.i18n.interpolate('draft_generation.nt_drafting_notice');

sourceLanguage?: string;
Expand Down
Loading