[pbs-devel] [PATCH proxmox-backup] ui: NodeInfo: add link to repositories
Dominik Csapak
d.csapak at proxmox.com
Mon Jul 12 13:54:35 CEST 2021
to guide the user to the repository panel from the dashboard
Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
www/panel/NodeInfo.js | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/www/panel/NodeInfo.js b/www/panel/NodeInfo.js
index ff96e8fc..d05a53d1 100644
--- a/www/panel/NodeInfo.js
+++ b/www/panel/NodeInfo.js
@@ -46,7 +46,9 @@ Ext.define('PBS.NodeInfoPanel', {
},
repoStatusMessage: function(get) {
const status = get('repoStatus');
- return Proxmox.Utils.formatNodeRepoStatus(status, 'Proxmox Backup Server');
+ let link = '#pbsServerAdministration:aptrepositories';
+ let icon = ` <a href="${link}"><i class="fa fa-link"></i></a>`;
+ return Proxmox.Utils.formatNodeRepoStatus(status, 'Proxmox Backup Server') + icon;
},
},
},
--
2.30.2
More information about the pbs-devel
mailing list