Skip to content

Commit

Permalink
Fix editing license bugs: confirmation, required info messages (DSpac…
Browse files Browse the repository at this point in the history
…e#634)

* Updated license definition form messages for required info labels.

* The confirmation default value is loaded.
  • Loading branch information
milanmajchrak authored Jun 6, 2024
1 parent d7394fa commit 9d1d2cc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ <h4 class="modal-title">{{'clarin-license.define-license-form.form-name' | trans
<div class="form-group">
<label id="confirmation" for="confirmation">{{'clarin-license.define-license-form.input-confirmation' | translate}}</label>
<select formControlName="confirmation" class="custom-select">
<option *ngFor="let confirmationOption of confirmationOptions">{{confirmationOption}}</option>
<option *ngFor="let confirmationOption of confirmationOptions" [value]="confirmationOption">{{confirmationOption}}</option>
</select>
</div>
<div class="form-group">
Expand Down
14 changes: 7 additions & 7 deletions src/app/core/shared/clarin/clarin-license.resource-type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,16 @@ export class ClarinLicenseRequiredInfo {
* Required info possible values.
*/
export const CLARIN_LICENSE_REQUIRED_INFO = {
SEND_TOKEN: 'Email',
NAME: 'Name (given name and surname)',
SEND_TOKEN: 'The user will receive an email with download instructions.',
NAME: 'User Name',
DOB: 'Date of birth',
ADDRESS: 'Address',
COUNTRY: 'Country',
EXTRA_EMAIL: 'Email',
ORGANIZATION: 'Organization',
REQUIRED_ORGANIZATION: 'Organization',
INTENDED_USE: 'Intended use',
ACA_ORG_NAME_AND_SEAT: 'Name and seat (address) of your academic institution',
EXTRA_EMAIL: 'Ask user for another email address',
ORGANIZATION: 'Ask user for organization (optional)',
REQUIRED_ORGANIZATION: 'Ask user for organization (mandatory)',
INTENDED_USE: 'Ask user for his intentions with the item',
ACA_ORG_NAME_AND_SEAT: 'Ask for the name and seat (address) of user\'s academic institution',
};

/**
Expand Down

0 comments on commit 9d1d2cc

Please sign in to comment.