From 8ca368f9c7b7421e6025f38c1644fa5204175e71 Mon Sep 17 00:00:00 2001 From: shortcutme Date: Sat, 10 Mar 2018 02:02:58 +0100 Subject: [PATCH] Bigfile autodownload size limit field to sidebar --- plugins/Sidebar/SidebarPlugin.py | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/plugins/Sidebar/SidebarPlugin.py b/plugins/Sidebar/SidebarPlugin.py index fe3bb720..71563e1d 100644 --- a/plugins/Sidebar/SidebarPlugin.py +++ b/plugins/Sidebar/SidebarPlugin.py @@ -270,9 +270,18 @@ class UiWebsocketPlugin(object):
  • -
  • """)) + autodownload_bigfile_size_limit = int(site.settings.get("autodownload_bigfile_size_limit", config.autodownload_bigfile_size_limit)) + body.append(_(u""" +
    + + MB + {_[Set]} +
    + """)) + body.append("") + def sidebarRenderBadFiles(self, body, site): body.append(_(u"""