diff --git a/public/app/features/manage-dashboards/DashboardImportPage.tsx b/public/app/features/manage-dashboards/DashboardImportPage.tsx index 617d883f87a..9e9561f4407 100644 --- a/public/app/features/manage-dashboards/DashboardImportPage.tsx +++ b/public/app/features/manage-dashboards/DashboardImportPage.tsx @@ -26,6 +26,7 @@ import { } from '@grafana/ui'; import appEvents from 'app/core/app_events'; import { Page } from 'app/core/components/Page/Page'; +import { t, Trans } from 'app/core/internationalization'; import { GrafanaRouteComponentProps } from 'app/core/navigation/types'; import { StoreState } from 'app/types'; @@ -126,6 +127,12 @@ class UnthemedDashboardImport extends PureComponent { renderImportForm() { const styles = importStyles(this.props.theme); + const GcomDashboardsLink = () => ( + + grafana.com/dashboards + + ); + return ( <>
@@ -136,8 +143,11 @@ class UnthemedDashboardImport extends PureComponent { onLoad={this.onFileUpload} >
@@ -148,10 +158,9 @@ class UnthemedDashboardImport extends PureComponent { label={ } @@ -160,13 +169,20 @@ class UnthemedDashboardImport extends PureComponent { > Load} + addonAfter={ + + } /> )} @@ -177,13 +193,13 @@ class UnthemedDashboardImport extends PureComponent { {({ register, errors }) => ( <>