Newer
Older
dmpopidor / lib / assets / javascripts / constants.js
export const PASSWORD_MIN_LENGTH = 8;
export const PASSWORD_MAX_LENGTH = 128;

export const VALIDATION_MESSAGE_DEFAULT = 'Please enter a valid value.';
export const VALIDATION_MESSAGE_EMAIL = 'You must enter a valid email address.';
export const VALIDATION_MESSAGE_NUMBER = 'Please enter a valid number.';
export const VALIDATION_MESSAGE_PASSWORD = 'The password must be between 8 and 128 characters.';
export const VALIDATION_MESSAGE_PASSWORDS_MATCH = 'The passwords must match.';
export const VALIDATION_MESSAGE_RADIO = 'Please choose one of the options.';
export const VALIDATION_MESSAGE_SELECT = 'Please select a value from the list.';
export const VALIDATION_MESSAGE_TEXT = 'This field is required.';

export const SHOW_PASSWORD_MESSAGE = 'Show password';
export const SHOW_SELECT_ORG_MESSAGE = 'Select an organisation from the list.';
export const SHOW_OTHER_ORG_MESSAGE = 'My organisation isn\'t listed';

export const PLAN_VISIBILITY_WHEN_TEST = 'N/A';
export const PLAN_VISIBILITY_WHEN_NOT_TEST = 'Private';
export const PLAN_VISIBILITY_WHEN_NOT_TEST_TOOLTIP = 'Private: restricted to me and people I invite.';