section-upload-file-edit.model.ts (dspace-angular-dspace-7.0) | : | section-upload-file-edit.model.ts (dspace-angular-dspace-7.1) | ||
---|---|---|---|---|
skipping to change at line 77 | skipping to change at line 77 | |||
match: MATCH_ENABLED, | match: MATCH_ENABLED, | |||
operator: OR_OPERATOR, | operator: OR_OPERATOR, | |||
when: [] | when: [] | |||
} | } | |||
], | ], | |||
required: true, | required: true, | |||
validators: { | validators: { | |||
required: null | required: null | |||
}, | }, | |||
errorMessages: { | errorMessages: { | |||
required: 'submission.sections.upload.form.date-required' | required: 'submission.sections.upload.form.date-required-from' | |||
} | } | |||
}; | }; | |||
export const BITSTREAM_FORM_ACCESS_CONDITION_START_DATE_LAYOUT: DynamicFormContr olLayout = { | export const BITSTREAM_FORM_ACCESS_CONDITION_START_DATE_LAYOUT: DynamicFormContr olLayout = { | |||
element: { | element: { | |||
label: 'col-form-label' | label: 'col-form-label' | |||
}, | }, | |||
grid: { | grid: { | |||
host: 'col-6' | host: 'col-6' | |||
} | } | |||
}; | }; | |||
skipping to change at line 107 | skipping to change at line 107 | |||
match: MATCH_ENABLED, | match: MATCH_ENABLED, | |||
operator: OR_OPERATOR, | operator: OR_OPERATOR, | |||
when: [] | when: [] | |||
} | } | |||
], | ], | |||
required: true, | required: true, | |||
validators: { | validators: { | |||
required: null | required: null | |||
}, | }, | |||
errorMessages: { | errorMessages: { | |||
required: 'submission.sections.upload.form.date-required' | required: 'submission.sections.upload.form.date-required-until' | |||
} | } | |||
}; | }; | |||
export const BITSTREAM_FORM_ACCESS_CONDITION_END_DATE_LAYOUT: DynamicFormControl Layout = { | export const BITSTREAM_FORM_ACCESS_CONDITION_END_DATE_LAYOUT: DynamicFormControl Layout = { | |||
element: { | element: { | |||
label: 'col-form-label' | label: 'col-form-label' | |||
}, | }, | |||
grid: { | grid: { | |||
host: 'col-6' | host: 'col-6' | |||
} | } | |||
}; | }; | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added |