debian-mirror-gitlab/app/assets/javascripts/environments/environment_details/constants.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

48 lines
1 KiB
JavaScript
Raw Normal View History

2023-03-04 22:38:38 +05:30
import { __ } from '~/locale';
export const ENVIRONMENT_DETAILS_PAGE_SIZE = 20;
export const ENVIRONMENT_DETAILS_TABLE_FIELDS = [
{
key: 'status',
label: __('Status'),
columnClass: 'gl-w-10p',
tdClass: 'gl-vertical-align-middle!',
},
{
key: 'id',
label: __('ID'),
columnClass: 'gl-w-5p',
tdClass: 'gl-vertical-align-middle!',
},
{
key: 'triggerer',
label: __('Triggerer'),
columnClass: 'gl-w-10p',
tdClass: 'gl-vertical-align-middle!',
},
{
key: 'commit',
label: __('Commit'),
columnClass: 'gl-w-20p',
tdClass: 'gl-vertical-align-middle!',
},
{
key: 'job',
label: __('Job'),
columnClass: 'gl-w-20p',
tdClass: 'gl-vertical-align-middle!',
},
{
key: 'created',
label: __('Created'),
columnClass: 'gl-w-10p',
tdClass: 'gl-vertical-align-middle! gl-white-space-nowrap',
},
{
key: 'deployed',
label: __('Deployed'),
columnClass: 'gl-w-10p',
tdClass: 'gl-vertical-align-middle! gl-white-space-nowrap',
},
];