Welcome to mirror list, hosted at ThFree Co, Russian Federation.

constants.js « work_items « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: dc01e2424e54ff467969c6d236b1c5f36783a9f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import { s__ } from '~/locale';

export const STATE_OPEN = 'OPEN';
export const STATE_CLOSED = 'CLOSED';

export const STATE_EVENT_REOPEN = 'REOPEN';
export const STATE_EVENT_CLOSE = 'CLOSE';

export const i18n = {
  fetchError: s__('WorkItem|Something went wrong when fetching the work item. Please try again.'),
  updateError: s__('WorkItem|Something went wrong while updating the work item. Please try again.'),
};

export const DEFAULT_MODAL_TYPE = 'Task';

export const WIDGET_TYPE_ASSIGNEE = 'ASSIGNEES';