Skip to content

Commit

Permalink
Add captions to user and space grid pages (#82713) (#83003)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
legrego and kibanamachine committed Nov 9, 2020
1 parent eab069e commit 9bff3b7
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 9bff3b7

Please sign in to comment.