debian-mirror-gitlab/app/assets/javascripts/issue_show/constants.js

28 lines
592 B
JavaScript
Raw Normal View History

2020-06-23 00:09:42 +05:30
import { __ } from '~/locale';
export const IssuableStatus = {
Closed: 'closed',
2021-01-29 00:20:46 +05:30
Open: 'opened',
Reopened: 'reopened',
2020-06-23 00:09:42 +05:30
};
export const IssuableStatusText = {
[IssuableStatus.Closed]: __('Closed'),
2021-01-29 00:20:46 +05:30
[IssuableStatus.Open]: __('Open'),
[IssuableStatus.Reopened]: __('Open'),
2020-06-23 00:09:42 +05:30
};
export const IssuableType = {
Issue: 'issue',
Epic: 'epic',
MergeRequest: 'merge_request',
};
2020-07-28 23:09:34 +05:30
2021-01-29 00:20:46 +05:30
export const IssueStateEvent = {
Close: 'CLOSE',
Reopen: 'REOPEN',
};
2020-07-28 23:09:34 +05:30
export const STATUS_PAGE_PUBLISHED = __('Published on status page');
export const JOIN_ZOOM_MEETING = __('Join Zoom meeting');