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