diff --git a/packages/manager/.changeset/pr-11385-fixed-1733735480951.md b/packages/manager/.changeset/pr-11385-fixed-1733735480951.md new file mode 100644 index 00000000000..b939ad60f34 --- /dev/null +++ b/packages/manager/.changeset/pr-11385-fixed-1733735480951.md @@ -0,0 +1,5 @@ +--- +"@linode/manager": Fixed +--- + +Document title from URL to appropriate keyword ([#11385](https://github.com/linode/manager/pull/11385)) diff --git a/packages/manager/src/features/Billing/InvoiceDetail/InvoiceDetail.tsx b/packages/manager/src/features/Billing/InvoiceDetail/InvoiceDetail.tsx index d6896013f79..45d5396ff5e 100644 --- a/packages/manager/src/features/Billing/InvoiceDetail/InvoiceDetail.tsx +++ b/packages/manager/src/features/Billing/InvoiceDetail/InvoiceDetail.tsx @@ -8,6 +8,7 @@ import * as React from 'react'; import { useParams } from 'react-router-dom'; import { Currency } from 'src/components/Currency'; +import { DocumentTitleSegment } from 'src/components/DocumentTitle'; import { DownloadCSV } from 'src/components/DownloadCSV/DownloadCSV'; import { LandingHeader } from 'src/components/LandingHeader'; import { Link } from 'src/components/Link'; @@ -117,152 +118,156 @@ export const InvoiceDetail = () => { }; return ( - - - - - - - + + + + + + + - + + + + {invoice && ( + - - - {invoice && ( - - )} + )} + + + {account && invoice && items && ( + <> + csvRef.current.link.click()} + sx={{ ...sxDownloadButton, marginRight: '8px' }} + /> + + + )} + + + {invoice && ( + + Total:{' '} + + + )} + - - {account && invoice && items && ( - <> - csvRef.current.link.click()} - sx={{ ...sxDownloadButton, marginRight: '8px' }} + + + {pdfGenerationError && ( + Failed generating PDF. + )} + + + + {invoice && ( + + + Subtotal:{' '} + - - - )} - - - {invoice && ( - + + {invoice.tax_summary.map((summary) => { + return ( + + {summary.name === 'Standard' + ? 'Standard Tax: ' + : `${summary.name}: `} + + + ); + })} + + Tax Subtotal: + + Total:{' '} - )} - + + This invoice may include Linode Compute Instances that have + been powered off as the data is maintained and resources are + still reserved. If you no longer need powered-down Linodes, + you can{' '} + + {' '} + remove the service + {' '} + from your account. + + + )} - - {pdfGenerationError && ( - Failed generating PDF. - )} - - - - {invoice && ( - - - Subtotal:{' '} - - - {invoice.tax_summary.map((summary) => { - return ( - - {summary.name === 'Standard' - ? 'Standard Tax: ' - : `${summary.name}: `} - - - ); - })} - - Tax Subtotal: - - - Total:{' '} - - - - This invoice may include Linode Compute Instances that have been - powered off as the data is maintained and resources are still - reserved. If you no longer need powered-down Linodes, you can{' '} - - {' '} - remove the service - {' '} - from your account. - - - )} - - - + + ); }; diff --git a/packages/manager/src/features/Databases/DatabaseDetail/index.tsx b/packages/manager/src/features/Databases/DatabaseDetail/index.tsx index 367dbb113b4..f81eb723e5d 100644 --- a/packages/manager/src/features/Databases/DatabaseDetail/index.tsx +++ b/packages/manager/src/features/Databases/DatabaseDetail/index.tsx @@ -165,7 +165,11 @@ export const DatabaseDetail = () => { return ( <> - + { if (domains?.results === 0) { return ( <> + { return ( - +