From cdb1aaf6bc35e465bc2ee72b1937cf577e6175d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Mon, 1 Feb 2021 16:13:31 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=B8=20Hide=20link=20to=20systeminfo=20?= =?UTF-8?q?if=20not=20accessible?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Only users with SYSTEM permission can access it, so we should not show users without that a link to the dialog that will be hidden then anyway. --- src/octoprint/templates/dialogs/settings.jinja2 | 2 +- src/octoprint/templates/footer.jinja2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/octoprint/templates/dialogs/settings.jinja2 b/src/octoprint/templates/dialogs/settings.jinja2 index e2b3fb5e9..101e934ed 100644 --- a/src/octoprint/templates/dialogs/settings.jinja2 +++ b/src/octoprint/templates/dialogs/settings.jinja2 @@ -49,7 +49,7 @@ diff --git a/src/octoprint/templates/footer.jinja2 b/src/octoprint/templates/footer.jinja2 index 7c10a277a..8797c10e8 100644 --- a/src/octoprint/templates/footer.jinja2 +++ b/src/octoprint/templates/footer.jinja2 @@ -10,6 +10,6 @@
  • {{ _('FAQ') }}
  • {{ _('Docs') }}
  • - +