mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
* Add captions to user and space grid pages * Address PR feedback: reword captions * remove unused i18n values Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
eab069e4d1
commit
9bff3b7767
3 changed files with 10 additions and 0 deletions
|
@ -260,6 +260,10 @@ export class UsersGridPage extends Component<Props, State> {
|
|||
{
|
||||
<EuiInMemoryTable
|
||||
itemId="username"
|
||||
tableCaption={i18n.translate('xpack.security.management.users.tableCaption', {
|
||||
defaultMessage: 'Users',
|
||||
})}
|
||||
rowHeader="username"
|
||||
columns={columns}
|
||||
selection={selectionConfig}
|
||||
pagination={pagination}
|
||||
|
|
|
@ -112,6 +112,7 @@ exports[`SpacesGridPage renders as expected 1`] = `
|
|||
}
|
||||
pagination={true}
|
||||
responsive={true}
|
||||
rowHeader="name"
|
||||
search={
|
||||
Object {
|
||||
"box": Object {
|
||||
|
@ -120,6 +121,7 @@ exports[`SpacesGridPage renders as expected 1`] = `
|
|||
}
|
||||
}
|
||||
sorting={true}
|
||||
tableCaption="Kibana spaces"
|
||||
tableLayout="fixed"
|
||||
/>
|
||||
</EuiPageContent>
|
||||
|
|
|
@ -110,6 +110,10 @@ export class SpacesGridPage extends Component<Props, State> {
|
|||
<EuiInMemoryTable
|
||||
itemId={'id'}
|
||||
items={this.state.spaces}
|
||||
tableCaption={i18n.translate('xpack.spaces.management.spacesGridPage.tableCaption', {
|
||||
defaultMessage: 'Kibana spaces',
|
||||
})}
|
||||
rowHeader="name"
|
||||
columns={this.getColumnConfig()}
|
||||
hasActions
|
||||
pagination={true}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue