You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
1.0 KiB
27 lines
1.0 KiB
11 months ago
|
From c1e377389f4e613e9707de8ea09bd5fc9179f8d4 Mon Sep 17 00:00:00 2001
|
||
|
From: Eugene Zamriy <ezamriy@msvsphere-os.ru>
|
||
|
Date: Mon, 20 Nov 2023 21:46:51 +0300
|
||
|
Subject: [PATCH 3/6] Show MSVSPHERE_PRETTY_NAME instead of NAME for
|
||
|
documentation link
|
||
|
|
||
|
---
|
||
|
pkg/shell/topnav.jsx | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/pkg/shell/topnav.jsx b/pkg/shell/topnav.jsx
|
||
|
index 1ad8c3dcb..e1a8e4c66 100644
|
||
|
--- a/pkg/shell/topnav.jsx
|
||
|
+++ b/pkg/shell/topnav.jsx
|
||
|
@@ -149,7 +149,7 @@ export class TopNav extends React.Component {
|
||
|
|
||
|
if (this.state.osRelease.DOCUMENTATION_URL)
|
||
|
docItems.push(<DropdownItem key="os-doc" href={this.state.osRelease.DOCUMENTATION_URL} target="blank" rel="noopener noreferrer" icon={<ExternalLinkAltIcon />}>
|
||
|
- {cockpit.format(_("$0 documentation"), this.state.osRelease.NAME)}
|
||
|
+ {cockpit.format(_("$0 documentation"), this.state.osRelease.MSVSPHERE_PRETTY_NAME)}
|
||
|
</DropdownItem>);
|
||
|
|
||
|
// global documentation for cockpit as a whole
|
||
|
--
|
||
|
2.43.0
|
||
|
|