Skip to content

Commit

Permalink
Merge branch 'w2p-113996_Improvements-submission-sections-example-7.6…
Browse files Browse the repository at this point in the history
…' into w2p-113996_Improvements-submission-sections-example-main
  • Loading branch information
Atmire-Kristof committed Apr 12, 2024
2 parents 03d13e3 + be91dc0 commit b4137d4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/app/submission/sections/sections-decorator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ submissionSectionsMap.set(SectionsType.License, SubmissionSectionLicenseComponen
submissionSectionsMap.set(SectionsType.CcLicense, SubmissionSectionCcLicensesComponent);
submissionSectionsMap.set(SectionsType.SherpaPolicies, SubmissionSectionSherpaPoliciesComponent);
submissionSectionsMap.set(SectionsType.Upload, SubmissionSectionUploadComponent);
// For demonstration purposes, this custom step is configured for an existing component,
// but you probably want to create a separate one for your own use-case
submissionSectionsMap.set(SectionsType.CustomUpload, SubmissionSectionUploadComponent);
submissionSectionsMap.set(SectionsType.SubmissionForm, SubmissionSectionFormComponent);
submissionSectionsMap.set(SectionsType.Identifiers, SubmissionSectionIdentifiersComponent);
submissionSectionsMap.set(SectionsType.CoarNotify, SubmissionSectionCoarNotifyComponent);
Expand Down
1 change: 1 addition & 0 deletions src/app/submission/sections/sections-type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ export enum SectionsType {
Relationships = 'relationships',
SubmissionForm = 'submission-form',
Upload = 'upload',
CustomUpload = 'custom-upload',
License = 'license',
CcLicense = 'cclicense',
collection = 'collection',
Expand Down
2 changes: 2 additions & 0 deletions src/assets/i18n/en.json5
Original file line number Diff line number Diff line change
Expand Up @@ -5124,6 +5124,8 @@

"submission.sections.submit.progressbar.upload": "Upload files",

"submission.sections.submit.progressbar.custom-upload": "Upload files - Custom example submission step",

"submission.sections.submit.progressbar.sherpaPolicies": "Publisher open access policy information",

"submission.sections.sherpa-policy.title-empty": "No publisher policy information available. If your work has an associated ISSN, please enter it above to see any related publisher open access policies.",
Expand Down

0 comments on commit b4137d4

Please sign in to comment.