* move GradesTab and BulkHistoryTab to views and control from container through redux * add data logic for view control and import success toast * add NetworkButton component for download/upload buttons * remove download button from Bulk History view and update heading and help text * add View control button to GradebookHeader if bulk management available * remove FilterMenuToggle from SearchControls * update BulkManagementControls to now include upload/download grades buttons * add Import Success toast * rename UserLabel to FilteredUsersLabel for clarity * add InterventionsReport component * update GradesView top-level component * messageing update (separate messages into per-component files) * style updates * update test plan * clean up css and add docstrings * typo fix * fix typo in bulk management view header
37 lines
1.4 KiB
JavaScript
37 lines
1.4 KiB
JavaScript
import { defineMessages } from '@edx/frontend-platform/i18n';
|
|
|
|
const messages = defineMessages({
|
|
backToDashboard: {
|
|
id: 'gradebook.GradebookHeader.backButton',
|
|
defaultMessage: 'Back to Dashboard',
|
|
description: 'Button text to take user back to LMS dashboard in Gradebook Header',
|
|
},
|
|
gradebook: {
|
|
id: 'gradebook.GradebookHeader.appLabel',
|
|
defaultMessage: 'Gradebook',
|
|
description: 'Top-level app title in Gradebook Header component',
|
|
},
|
|
frozenWarning: {
|
|
id: 'gradebook.GradebookHeader.frozenWarning',
|
|
defaultMessage: 'The grades for this course are now frozen. Editing of grades is no longer allowed.',
|
|
description: 'Warning message in Gradebook Header for frozen messages',
|
|
},
|
|
unauthorizedWarning: {
|
|
id: 'gradebook.GradebookHeader.unauthorizedWarning',
|
|
defaultMessage: 'You are not authorized to view the gradebook for this course.',
|
|
description: 'Warning message in Gradebook Header when user is not allowed to view the app',
|
|
},
|
|
toActivityLog: {
|
|
id: 'gradebook.GradebookHeader.toActivityLogButton',
|
|
defaultMessage: 'View Bulk Management History',
|
|
description: 'Button text for button navigating to Bulk Managment Activity Log',
|
|
},
|
|
toGradesView: {
|
|
id: 'gradebook.GradebookHeader.toGradesView',
|
|
defaultMessage: 'Return to Gradebook',
|
|
description: 'Button text for button navigating to Grades view.',
|
|
},
|
|
});
|
|
|
|
export default messages;
|