mirror of
https://github.com/ansible/awx.git
synced 2026-01-16 12:20:45 -03:30
Minor update EE tables
* Add table header `actions` * Add `name` as default search See: https://github.com/ansible/awx/issues/7884 Also: https://github.com/ansible/awx/issues/9087
This commit is contained in:
parent
befc658042
commit
f2801e0c03
@ -121,10 +121,14 @@ function ExecutionEnvironmentList({ i18n }) {
|
||||
toolbarSearchableKeys={searchableKeys}
|
||||
toolbarRelatedSearchableKeys={relatedSearchableKeys}
|
||||
toolbarSearchColumns={[
|
||||
{
|
||||
name: i18n._(t`Name`),
|
||||
key: 'name__icontains',
|
||||
isDefault: true,
|
||||
},
|
||||
{
|
||||
name: i18n._(t`Image`),
|
||||
key: 'image__icontains',
|
||||
isDefault: true,
|
||||
},
|
||||
]}
|
||||
toolbarSortColumns={[
|
||||
@ -150,6 +154,7 @@ function ExecutionEnvironmentList({ i18n }) {
|
||||
<HeaderCell sortKey="name">{i18n._(t`Name`)}</HeaderCell>
|
||||
<HeaderCell>{i18n._(t`Image`)}</HeaderCell>
|
||||
<HeaderCell>{i18n._(t`Organization`)}</HeaderCell>
|
||||
<HeaderCell>{i18n._(t`Actions`)}</HeaderCell>
|
||||
</HeaderRow>
|
||||
}
|
||||
renderToolbar={props => (
|
||||
|
||||
@ -50,7 +50,7 @@ function ExecutionEnvironmentListItem({
|
||||
i18n._(t`Globally Available`)
|
||||
)}
|
||||
</Td>
|
||||
<ActionsTd dataLabel={i18n._(t`Actions`)}>
|
||||
<ActionsTd dataLabel={i18n._(t`Actions`)} gridColumns="auto 40px">
|
||||
<ActionItem
|
||||
visible={executionEnvironment.summary_fields.user_capabilities.edit}
|
||||
tooltip={i18n._(t`Edit Execution Environment`)}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user