Sha256: b506b1fdd3bf8f9349e9889b9af64967d26b382a93926412886ca06d3025764f

Contents?: true

Size: 898 Bytes

Versions: 30

Compression:

Stored size: 898 Bytes

Contents

import { translate as __ } from 'foremanReact/common/I18n';

export const REPOSITORY_SETS_KEY = 'HOST_DETAIL_REPOSITORY_SETS';
export const CONTENT_OVERRIDES_KEY = 'HOST_DETAIL_CONTENT_OVERRIDES';

export const STATUSES = {
  ENABLED: __('Enabled'),
  DISABLED: __('Disabled'),
  OVERRIDDEN: __('Overridden'),
};

export const STATUS_TO_PARAM = {
  [STATUSES.ENABLED]: 'enabled',
  [STATUSES.DISABLED]: 'disabled',
  [STATUSES.OVERRIDDEN]: 'overridden',
};

export const PARAM_TO_FRIENDLY_NAME = {
  enabled: __('Enabled'),
  disabled: __('Disabled'),
  overridden: __('Overridden'),
};

export const PROVIDER_TYPES = {
  CUSTOM: __('Custom'),
  REDHAT: __('Red Hat'),
};

export const PROVIDER_TYPE_TO_PARAM = {
  [PROVIDER_TYPES.CUSTOM]: 'custom',
  [PROVIDER_TYPES.REDHAT]: 'redhat',
};

export const PROVIDER_TYPE_PARAM_TO_FRIENDLY_NAME = {
  custom: __('Custom'),
  redhat: __('Red Hat'),
};

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
katello-4.14.2 webpack/components/extensions/HostDetails/Tabs/RepositorySetsTab/RepositorySetsConstants.js
katello-4.15.0 webpack/components/extensions/HostDetails/Tabs/RepositorySetsTab/RepositorySetsConstants.js
katello-4.15.0.rc2 webpack/components/extensions/HostDetails/Tabs/RepositorySetsTab/RepositorySetsConstants.js
katello-4.15.0.rc1 webpack/components/extensions/HostDetails/Tabs/RepositorySetsTab/RepositorySetsConstants.js
katello-4.14.1 webpack/components/extensions/HostDetails/Tabs/RepositorySetsTab/RepositorySetsConstants.js
katello-4.14.0 webpack/components/extensions/HostDetails/Tabs/RepositorySetsTab/RepositorySetsConstants.js
katello-4.14.0.rc3 webpack/components/extensions/HostDetails/Tabs/RepositorySetsTab/RepositorySetsConstants.js
katello-4.14.0.rc2 webpack/components/extensions/HostDetails/Tabs/RepositorySetsTab/RepositorySetsConstants.js
katello-4.14.0.rc1.1 webpack/components/extensions/HostDetails/Tabs/RepositorySetsTab/RepositorySetsConstants.js
katello-4.14.0.rc1 webpack/components/extensions/HostDetails/Tabs/RepositorySetsTab/RepositorySetsConstants.js
katello-4.13.1 webpack/components/extensions/HostDetails/Tabs/RepositorySetsTab/RepositorySetsConstants.js
katello-4.13.0 webpack/components/extensions/HostDetails/Tabs/RepositorySetsTab/RepositorySetsConstants.js
katello-4.12.1 webpack/components/extensions/HostDetails/Tabs/RepositorySetsTab/RepositorySetsConstants.js
katello-4.13.0.rc1 webpack/components/extensions/HostDetails/Tabs/RepositorySetsTab/RepositorySetsConstants.js
katello-4.12.0 webpack/components/extensions/HostDetails/Tabs/RepositorySetsTab/RepositorySetsConstants.js
katello-4.12.0.rc3 webpack/components/extensions/HostDetails/Tabs/RepositorySetsTab/RepositorySetsConstants.js
katello-4.12.0.rc2 webpack/components/extensions/HostDetails/Tabs/RepositorySetsTab/RepositorySetsConstants.js
katello-4.12.0.rc1 webpack/components/extensions/HostDetails/Tabs/RepositorySetsTab/RepositorySetsConstants.js
katello-4.11.1 webpack/components/extensions/HostDetails/Tabs/RepositorySetsTab/RepositorySetsConstants.js
katello-4.11.0 webpack/components/extensions/HostDetails/Tabs/RepositorySetsTab/RepositorySetsConstants.js