Sha256: 6000e5e975e055b8e738913a7472dcc4d3db449e97d2bac37cb8f28919f5b1c0
Contents?: true
Size: 803 Bytes
Versions: 87
Compression:
Stored size: 803 Bytes
Contents
import React from 'react'; import { translate as __ } from 'foremanReact/common/I18n'; import { EmptyStatePattern as EmptyState } from 'foremanReact/components/common/EmptyState'; const AnsiblePermissionDenied = props => { const description = ( <span> {__('You are not authorized to perform this action.')} <br /> {__( 'Please request one of the required permissions listed below from a Foreman administrator:' )} <br /> </span> ); const doc = ( <ul className="list-unstyled"> <li>view_ansible_roles</li> </ul> ); return ( <EmptyState iconType="fa" icon="lock" header={__('Permission Denied')} description={description} documentation={doc} /> ); }; export default AnsiblePermissionDenied;
Version data entries
87 entries across 87 versions & 1 rubygems