From 52ed8c18ca0f009e3fe327fe35fc9995b044d70c Mon Sep 17 00:00:00 2001 From: Tamas Kocsis Date: Mon, 21 Sep 2020 18:26:44 +0200 Subject: [PATCH] Add browse files link to sidebar --- plugins/Sidebar/SidebarPlugin.py | 7 +++++-- plugins/Sidebar/media/Sidebar.css | 3 ++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/plugins/Sidebar/SidebarPlugin.py b/plugins/Sidebar/SidebarPlugin.py index 4e79839d..0ba02571 100644 --- a/plugins/Sidebar/SidebarPlugin.py +++ b/plugins/Sidebar/SidebarPlugin.py @@ -169,12 +169,15 @@ class UiWebsocketPlugin(object): """)) def sidebarRenderFileStats(self, body, site): + site_address = site.content_manager.contents.get("content.json", {}).get("domain", site.address) body.append(_("""