{JSON.stringify(job, null, 2)}
diff --git a/public/app/features/provisioning/Repository/PullRequestButtons.tsx b/public/app/features/provisioning/Repository/PullRequestButtons.tsx
index c7c3101161e..2e61d879b36 100644
--- a/public/app/features/provisioning/Repository/PullRequestButtons.tsx
+++ b/public/app/features/provisioning/Repository/PullRequestButtons.tsx
@@ -1,5 +1,5 @@
import { Trans } from '@grafana/i18n';
-import { LinkButton } from '@grafana/ui';
+import { LinkButton, Stack } from '@grafana/ui';
import { RepositoryUrLs } from 'app/api/clients/provisioning/v0alpha1';
interface Props {
@@ -16,7 +16,7 @@ export function PullRequestButtons({ urls, jobType }: Props) {
}
return (
- <>
+
View branch
@@ -26,6 +26,6 @@ export function PullRequestButtons({ urls, jobType }: Props) {
Open pull request
- >
+
);
}
diff --git a/public/app/features/provisioning/Shared/RepositoryList.tsx b/public/app/features/provisioning/Shared/RepositoryList.tsx
index c129564a9bd..be7ff34c074 100644
--- a/public/app/features/provisioning/Shared/RepositoryList.tsx
+++ b/public/app/features/provisioning/Shared/RepositoryList.tsx
@@ -41,12 +41,18 @@ export function RepositoryList({ items }: Props) {
- {{ managedCount }}/{{ count: resourceCount }} resources managed. {{ unmanagedCount }} resources
- aren't managed as code yet.
+ {{ managedCount }}/{{ resourceCount }} resources managed.
+ {unmanagedCount > 0 && (
+ <>
+ {' '}
+
+ {{ count: unmanagedCount }} resources aren't managed as code yet.
+
+ >
+ )}
);
diff --git a/public/locales/en-US/grafana.json b/public/locales/en-US/grafana.json
index dd9a430f824..e15a1ee7150 100644
--- a/public/locales/en-US/grafana.json
+++ b/public/locales/en-US/grafana.json
@@ -11373,9 +11373,10 @@
"all-resources-managed_one": "All {{count}} resource is managed",
"all-resources-managed_other": "All {{count}} resources are managed",
"no-results-matching-your-query": "No results matching your query",
- "partial-managed_one": "{{managedCount}}/{{count}} resources managed. {{unmanagedCount}} resources aren't managed as code yet.",
- "partial-managed_other": "{{managedCount}}/{{count}} resources managed. {{unmanagedCount}} resources aren't managed as code yet.",
- "placeholder-search": "Search"
+ "partial-managed": "{{managedCount}}/{{resourceCount}} resources managed.",
+ "placeholder-search": "Search",
+ "unmanaged-resources_one": "{{count}} resource isn't managed as code yet.",
+ "unmanaged-resources_other": "{{count}} resources aren't managed as code yet."
},
"get-default-values": {
"title": {