![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/mets.corals.io/wp-content/plugins/give/blocks/components/no-form/ |
/** * WordPress dependencies */ import { __ } from '@wordpress/i18n' import { Button } from '@wordpress/components'; /** * Internal dependencies */ import { getSiteUrl } from '../../utils'; import GiveBlankSlate from '../blank-slate'; /** * Render No forms Found UI */ const NoForms = () => { return ( <GiveBlankSlate title={ __( 'No donation forms found.', 'give' ) } description={ __( 'The first step towards accepting online donations is to create a form.', 'give' ) } helpLink> <Button isPrimary isLarge className="give-blank-slate__cta" href={ `${ getSiteUrl() }/wp-admin/post-new.php?post_type=give_forms` }> { __( 'Create Donation Form', 'give' ) } </Button> </GiveBlankSlate> ); }; export default NoForms;