From 3dd318d8ddc8db3f84020c448e283620cc5d09ac Mon Sep 17 00:00:00 2001
From: Marius Kittler <mkittler@suse.de>
Date: Mon, 6 Feb 2023 13:51:31 +0100
Subject: [PATCH] Add source code reference
---
public/app/core/components/Footer/Footer.tsx | 16 +++++++---------
1 file changed, 7 insertions(+), 9 deletions(-)
diff --git a/public/app/core/components/Footer/Footer.tsx b/public/app/core/components/Footer/Footer.tsx
index c73c2ea53..829700096 100644
--- a/public/app/core/components/Footer/Footer.tsx
+++ b/public/app/core/components/Footer/Footer.tsx
@@ -73,15 +73,13 @@ export let getVersionLinks = (): FooterLink[] => {
url: hasReleaseNotes ? `https://github.com/grafana/grafana/blob/main/CHANGELOG.md` : undefined,
});
- if (buildInfo.hasUpdate) {
- links.push({
- target: '_blank',
- id: 'updateVersion',
- text: `New version available!`,
- icon: 'download-alt',
- url: 'https://grafana.com/grafana/download?utm_source=grafana_footer',
- });
- }
+ links.push({
+ target: '_blank',
+ id: 'updateVersion',
+ text: `Source code`,
+ icon: 'download-alt',
+ url: 'https://build.opensuse.org/package/show/openSUSE:Factory/grafana',
+ });
return links;
};
--
2.39.1