mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 10:00:01 -03:30
Merge pull request #12363 from nixocio/ui_issue_5195
Modify position of tooltip for management job list
This commit is contained in:
commit
84fcd2ff00
@ -29,7 +29,7 @@ function LaunchManagementPrompt({
|
||||
const [dataRetention, setDataRetention] = useState(defaultDays);
|
||||
return (
|
||||
<>
|
||||
<Tooltip content={t`Launch management job`} position="top">
|
||||
<Tooltip content={t`Launch management job`} position="left">
|
||||
<Button
|
||||
aria-label={t`Launch management job`}
|
||||
variant="plain"
|
||||
|
||||
@ -71,7 +71,7 @@ function ManagementJobListItem({
|
||||
</Td>
|
||||
<Td dataLabel={t`Description`}>{description}</Td>
|
||||
<ActionsTd dataLabel={t`Actions`}>
|
||||
<ActionItem visible={isSuperUser} tooltip={t`Launch Management Job`}>
|
||||
<ActionItem visible={isSuperUser}>
|
||||
{isSuperUser ? (
|
||||
<>
|
||||
{isPrompted ? (
|
||||
@ -84,7 +84,7 @@ function ManagementJobListItem({
|
||||
defaultDays={30}
|
||||
/>
|
||||
) : (
|
||||
<Tooltip content={t`Launch management job`} position="top">
|
||||
<Tooltip content={t`Launch management job`} position="left">
|
||||
<Button
|
||||
ouiaId={`${id}-launch-button`}
|
||||
aria-label={t`Launch management job`}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user