-
Notifications
You must be signed in to change notification settings - Fork 316
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
63e055e
commit a3e3ff6
Showing
5 changed files
with
145 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 36 additions & 0 deletions
36
assets/js/status-report/components/reports/report/pendingContent.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
/** | ||
* WordPress dependencies. | ||
*/ | ||
import { PanelBody } from '@wordpress/components'; | ||
import { WPElement } from '@wordpress/element'; | ||
import { __ } from '@wordpress/i18n'; | ||
import Value from './value'; | ||
|
||
/** | ||
* Field value component. | ||
* | ||
* @param {object} props Component props. | ||
Check warning on line 12 in assets/js/status-report/components/reports/report/pendingContent.js
|
||
* @param {string} props.title Title. | ||
* | ||
* @returns {WPElement} Value component. | ||
*/ | ||
export default () => { | ||
return ( | ||
<PanelBody title={__('Pending generation', 'elasticpress')}> | ||
<table cellPadding="0" cellSpacing="0" className="wp-list-table widefat striped"> | ||
<tbody> | ||
<tr> | ||
<td> | ||
<Value | ||
value={__( | ||
'To see this report, please generate a full report first by clicking the "Generate Full Status Report" button.', | ||
'elasticpress', | ||
)} | ||
/> | ||
</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</PanelBody> | ||
); | ||
}; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters