grafana/0001-Add-source-code-reference.patch
Witek Bedyk 85974d977e Accepting request 949301 from home:witekbedyk:branches:server:monitoring
- Update to version 8.3.4 (jsc#PM-3191)
- Update changelog
- Update license to GNU Affero General Public License v3.0.

OBS-URL: https://build.opensuse.org/request/show/949301
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/grafana?expand=0&rev=67
2022-02-07 11:39:23 +00:00

39 lines
1.2 KiB
Diff

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