File 0001-Add-source-code-reference.patch of Package grafana.28005

From 6fb703952cbbdf7c0c2b629061db1e0aaae6f984 Mon Sep 17 00:00:00 2001
From: Witek Bedyk <witold.bedyk@suse.com>
Date: Thu, 20 Jan 2022 15:16:54 +0100
Subject: [PATCH] Add source code reference

---
 public/app/core/components/Footer/Footer.tsx | 15 ++++++---------
 1 file changed, 6 insertions(+), 9 deletions(-)

diff --git a/public/app/core/components/Footer/Footer.tsx b/public/app/core/components/Footer/Footer.tsx
index 9096de3910..8bed2ef5a2 100644
--- a/public/app/core/components/Footer/Footer.tsx
+++ b/public/app/core/components/Footer/Footer.tsx
@@ -46,15 +46,12 @@ export let getVersionLinks = (): FooterLink[] => {
 
   links.push({ text: `v${buildInfo.version} (${buildInfo.commit})` });
 
-  if (buildInfo.hasUpdate) {
-    links.push({
-      id: 'updateVersion',
-      text: `New version available!`,
-      icon: 'download-alt',
-      url: 'https://grafana.com/grafana/download?utm_source=grafana_footer',
-      target: '_blank',
-    });
-  }
+  links.push({
+    text: `Source code`,
+    icon: 'download-alt',
+    url: 'https://build.opensuse.org/package/show/openSUSE:Factory/grafana',
+    target: '_blank',
+  });
 
   return links;
 };
-- 
2.31.1

openSUSE Build Service is sponsored by