Sha256: 944b9c4f4b2a0c9f1aaeb8b9c5814a703e8a71d5e473dfe76349c4974211ccf0

Contents?: true

Size: 511 Bytes

Versions: 6

Compression:

Stored size: 511 Bytes

Contents

import React from 'react';
import { Button, Icon } from 'patternfly-react';
import { ACTIONS_HISTORY_BUTTON_TEXT } from '../../../../ForemanInventoryConstants';
import { getActionsHistoryUrl } from '../../../../ForemanInventoryHelpers';

const HistoryButton = () => (
  <Button
    className="tasks_history_button"
    href={getActionsHistoryUrl()}
    target="_blank"
    rel="noopener noreferrer"
  >
    <Icon name="history" />
    {ACTIONS_HISTORY_BUTTON_TEXT}
  </Button>
);

export default HistoryButton;

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
foreman_rh_cloud-2.0.9 webpack/ForemanInventoryUpload/Components/PageHeader/components/HistoryButton/HistoryButton.js
foreman_rh_cloud-1.0.9 webpack/ForemanInventoryUpload/Components/PageHeader/components/HistoryButton/HistoryButton.js
foreman_rh_cloud-0.9.9 webpack/ForemanInventoryUpload/Components/PageHeader/components/HistoryButton/HistoryButton.js
foreman_rh_cloud-0.9.8 webpack/ForemanInventoryUpload/Components/PageHeader/components/HistoryButton/HistoryButton.js
foreman_rh_cloud-1.0.8 webpack/ForemanInventoryUpload/Components/PageHeader/components/HistoryButton/HistoryButton.js
foreman_rh_cloud-2.0.8 webpack/ForemanInventoryUpload/Components/PageHeader/components/HistoryButton/HistoryButton.js