Sha256: 1e85c956521cb2d1006c287ae15799eb41901ad7d1e3c60e59c5e286ea2254d0

Contents?: true

Size: 710 Bytes

Versions: 158

Compression:

Stored size: 710 Bytes

Contents

import React from 'react';
import PropTypes from 'prop-types';
import { translate as __ } from 'foremanReact/common/I18n';
import { MessageDialog } from 'patternfly-react';

const InputsErrorsDialog = ({
  show, showErrorDialog,
}) => (
  <MessageDialog
    show={show}
    title={__('Editing Entitlements')}
    secondaryContent={__('Some of your inputs contain errors. Please update them and save your changes again.')}
    primaryAction={() => showErrorDialog(false)}
    onHide={() => showErrorDialog(false)}
    primaryActionButtonContent="Ok"
  />);

InputsErrorsDialog.propTypes = {
  show: PropTypes.bool.isRequired,
  showErrorDialog: PropTypes.func.isRequired,
};

export default InputsErrorsDialog;

Version data entries

158 entries across 158 versions & 1 rubygems

Version Path
katello-4.15.0.rc2 webpack/scenes/Subscriptions/components/SubscriptionsTable/components/Dialogs/InputsErrorsDialog.js
katello-4.15.0.rc1 webpack/scenes/Subscriptions/components/SubscriptionsTable/components/Dialogs/InputsErrorsDialog.js
katello-4.14.1 webpack/scenes/Subscriptions/components/SubscriptionsTable/components/Dialogs/InputsErrorsDialog.js
katello-4.14.0 webpack/scenes/Subscriptions/components/SubscriptionsTable/components/Dialogs/InputsErrorsDialog.js
katello-4.14.0.rc3 webpack/scenes/Subscriptions/components/SubscriptionsTable/components/Dialogs/InputsErrorsDialog.js
katello-4.14.0.rc2 webpack/scenes/Subscriptions/components/SubscriptionsTable/components/Dialogs/InputsErrorsDialog.js
katello-4.14.0.rc1.1 webpack/scenes/Subscriptions/components/SubscriptionsTable/components/Dialogs/InputsErrorsDialog.js
katello-4.14.0.rc1 webpack/scenes/Subscriptions/components/SubscriptionsTable/components/Dialogs/InputsErrorsDialog.js
katello-4.13.1 webpack/scenes/Subscriptions/components/SubscriptionsTable/components/Dialogs/InputsErrorsDialog.js
katello-4.13.0 webpack/scenes/Subscriptions/components/SubscriptionsTable/components/Dialogs/InputsErrorsDialog.js
katello-4.12.1 webpack/scenes/Subscriptions/components/SubscriptionsTable/components/Dialogs/InputsErrorsDialog.js
katello-4.13.0.rc1 webpack/scenes/Subscriptions/components/SubscriptionsTable/components/Dialogs/InputsErrorsDialog.js
katello-4.12.0 webpack/scenes/Subscriptions/components/SubscriptionsTable/components/Dialogs/InputsErrorsDialog.js
katello-4.12.0.rc3 webpack/scenes/Subscriptions/components/SubscriptionsTable/components/Dialogs/InputsErrorsDialog.js
katello-4.12.0.rc2 webpack/scenes/Subscriptions/components/SubscriptionsTable/components/Dialogs/InputsErrorsDialog.js
katello-4.12.0.rc1 webpack/scenes/Subscriptions/components/SubscriptionsTable/components/Dialogs/InputsErrorsDialog.js
katello-4.11.1 webpack/scenes/Subscriptions/components/SubscriptionsTable/components/Dialogs/InputsErrorsDialog.js
katello-4.11.0 webpack/scenes/Subscriptions/components/SubscriptionsTable/components/Dialogs/InputsErrorsDialog.js
katello-4.11.0.rc2 webpack/scenes/Subscriptions/components/SubscriptionsTable/components/Dialogs/InputsErrorsDialog.js
katello-4.11.0.rc1 webpack/scenes/Subscriptions/components/SubscriptionsTable/components/Dialogs/InputsErrorsDialog.js